Commit a1887d06 authored by Romain Courteaud's avatar Romain Courteaud

[erp5_web_renderjs_ui] Router: this is not the role of this code to drop url parameters

parent 9b01fd3f
...@@ -775,16 +775,10 @@ ...@@ -775,16 +775,10 @@
if (command_options.args.page === undefined) { if (command_options.args.page === undefined) {
return gadget.getSetting("jio_document_page_gadget", "form") return gadget.getSetting("jio_document_page_gadget", "form")
.push(function (jio_document_page_gadget) { .push(function (jio_document_page_gadget) {
command_options.args.page = jio_document_page_gadget;
command_options.args.view = command_options.args.view || 'view';
return synchronousChangeState( return synchronousChangeState(
getDisplayUrlFor(command_options.path, { getDisplayUrlFor(command_options.path, command_options.args)
page: jio_document_page_gadget,
editable: command_options.args.editable,
view: command_options.args.view || 'view',
selection: command_options.args.selection,
selection_index: command_options.args.selection_index,
history: command_options.args.history,
cancel: command_options.args.cancel
})
); );
}); });
} }
......
...@@ -232,7 +232,7 @@ ...@@ -232,7 +232,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>972.64591.3731.62310</string> </value> <value> <string>972.58906.44395.12356</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -250,7 +250,7 @@ ...@@ -250,7 +250,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1547565900.97</float> <float>1547217993.21</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