Commit 54506115 authored by Xiaowu Zhang's avatar Xiaowu Zhang Committed by Cédric Le Ninivin

erp5_web_renderjs_ui: be able to redirect to different view on the same document

parent 2804d579
......@@ -40,7 +40,7 @@
if (!result.jio_key) {
return;
}
if (gadget.state.jio_key === result.jio_key) {
if (gadget.state.jio_key === result.jio_key && gadget.state.view === result.view) {
// don't update navigation history when not really redirecting
return gadget.redirect({command: 'cancel_dialog_with_history'});
}
......
......@@ -222,7 +222,7 @@
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>zope</string> </value>
<value> <unicode>zope</unicode> </value>
</item>
<item>
<key> <string>comment</string> </key>
......@@ -236,7 +236,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>979.197.9357.62617</string> </value>
<value> <string>1008.49638.7192.9762</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -256,7 +256,7 @@
</tuple>
<state>
<tuple>
<float>1570623795.93</float>
<float>1696517587.38</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