Commit 1802003e authored by Romain Courteaud's avatar Romain Courteaud

[erp5_web_renderjs_ui] Keep selection index when using display_with_history

parent cf26c8fd
...@@ -489,6 +489,7 @@ ...@@ -489,6 +489,7 @@
function execKeepHistoryAndDisplayCommand(gadget, previous_options, next_options) { function execKeepHistoryAndDisplayCommand(gadget, previous_options, next_options) {
next_options.selection = previous_options.selection; next_options.selection = previous_options.selection;
next_options.history = previous_options.history; next_options.history = previous_options.history;
next_options.selection_index = previous_options.selection_index;
copyStickyParameterDict(previous_options, next_options); copyStickyParameterDict(previous_options, next_options);
return execDisplayCommand(gadget, next_options); return execDisplayCommand(gadget, next_options);
} }
......
...@@ -218,7 +218,7 @@ ...@@ -218,7 +218,7 @@
</item> </item>
<item> <item>
<key> <string>actor</string> </key> <key> <string>actor</string> </key>
<value> <string>superGeorge</string> </value> <value> <string>zope</string> </value>
</item> </item>
<item> <item>
<key> <string>comment</string> </key> <key> <string>comment</string> </key>
...@@ -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.46882.63089.27869</string> </value> <value> <string>972.49941.49847.30242</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>1546418134.48</float> <float>1546607711.98</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