Commit cb4ea4e7 authored by Romain Courteaud's avatar Romain Courteaud

slapos_panel: review View section in panel

Needed to cancel jump view
parent ebe5b46d
......@@ -71,7 +71,7 @@
context = this,
workflow_list,
group_mapping,
//view_list,
view_list,
action_list,
clone_list,
jump_list;
......@@ -109,7 +109,7 @@
});
workflow_list = JSON.stringify(group_mapping.action_workflow);
//view_list = JSON.stringify(group_mapping.action_object_view);
view_list = JSON.stringify(group_mapping.action_object_view);
action_list = JSON.stringify(group_mapping.action_object_jio_action);
clone_list = JSON.stringify(group_mapping.action_object_clone_action);
jump_list = JSON.stringify(group_mapping.action_object_jio_jump);
......@@ -125,7 +125,7 @@
visible: visible,
display_workflow_list: display_workflow_list,
workflow_list: workflow_list,
//view_list: view_list,
view_list: view_list,
action_list: action_list,
clone_list: clone_list,
jump_list: jump_list,
......@@ -142,7 +142,7 @@
var i,
gadget = this,
workflow_list,
view_list = [],
view_list,
action_list,
clone_list,
jump_list,
......@@ -255,7 +255,7 @@
modification_dict.hasOwnProperty("clone_list") ||
modification_dict.hasOwnProperty("jump_list") ||
modification_dict.hasOwnProperty("jio_key") ||
//modification_dict.hasOwnProperty("view_list") ||
modification_dict.hasOwnProperty("view_list") ||
modification_dict.hasOwnProperty("extra_menu_list"))) {
dl_fragment = document.createDocumentFragment();
......@@ -266,7 +266,7 @@
.push(function () {
var parameter_list = [];
//view_list = JSON.parse(gadget.state.view_list);
view_list = JSON.parse(gadget.state.view_list);
action_list = JSON.parse(gadget.state.action_list);
clone_list = JSON.parse(gadget.state.clone_list);
jump_list = JSON.parse(gadget.state.jump_list);
......@@ -285,10 +285,8 @@
});
})
.push(function (result_dict) {
/*
appendDt(dl_fragment, result_dict.translation_dict.Views, 'eye',
view_list, result_dict.url_list, 0);
*/
if (gadget.state.display_workflow_list) {
// show Workflows only on document
appendDt(dl_fragment, result_dict.translation_dict.Workflows, 'random',
......
......@@ -234,7 +234,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>1003.51507.1368.7987</string> </value>
<value> <string>1003.51517.50494.8618</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -252,7 +252,7 @@
</tuple>
<state>
<tuple>
<float>1666346746.18</float>
<float>1666689519.78</float>
<string>UTC</string>
</tuple>
</state>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment