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