Commit 8812b211 authored by Gabriel Monnerat's avatar Gabriel Monnerat

erp5_web_renderjs_ui: Support action that redirects developer to portal type configuration

parent 04cd128a
...@@ -289,13 +289,23 @@ ...@@ -289,13 +289,23 @@
}); });
} }
for (i = 0; i < jump_list.length; i += 1) { for (i = 0; i < jump_list.length; i += 1) {
parameter_list.push({ if (jump_list[i].href.indexOf("http") !== -1) {
command: 'display_dialog_with_history', parameter_list.push({
options: { command: 'display_dialog_with_history',
jio_key: gadget.state.jio_key, options: {
view: jump_list[i].href jio_key: gadget.state.jio_key,
} view: jump_list[i].href
}); }
});
} else {
parameter_list.push({
command: 'raw',
options: {
url: jump_list[i].href
}
});
}
} }
return RSVP.all([ return RSVP.all([
gadget.getUrlForList(parameter_list), gadget.getUrlForList(parameter_list),
......
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>986.45400.41413.45892</string> </value> <value> <string>988.2140.8286.22579</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -252,7 +252,7 @@ ...@@ -252,7 +252,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1600429015.37</float> <float>1605611512.88</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </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