Commit c8d937c0 authored by Romain Courteaud's avatar Romain Courteaud

erp5_web_renderjs_ui: support more parameters in the erp5 router actions

parent fcdc01fc
......@@ -410,10 +410,11 @@
for (j = 0; j < document_view._links[action].length; j = j + 1) {
action_data = document_view._links[action][j];
if (action_data.name === next_options.page) {
new_options = {
jio_key: next_options.jio_key,
view: action_data.href
};
// copy (or reuse) to propagate other parameters like editable
new_options = next_options;
// XXX page options is conflicting with usual usage
delete new_options.page;
new_options.view = action_data.href;
copyStickyParameterDict(previous_options, new_options);
if (command === 0) {
return execDisplayCommand(gadget, new_options);
......
......@@ -236,7 +236,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>990.5085.9603.7731</string> </value>
<value> <string>990.5086.43949.8362</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -254,7 +254,7 @@
</tuple>
<state>
<tuple>
<float>1613566000.18</float>
<float>1614089291.25</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