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 @@
function execKeepHistoryAndDisplayCommand(gadget, previous_options, next_options) {
next_options.selection = previous_options.selection;
next_options.history = previous_options.history;
next_options.selection_index = previous_options.selection_index;
copyStickyParameterDict(previous_options, next_options);
return execDisplayCommand(gadget, next_options);
}
......
......@@ -218,7 +218,7 @@
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>superGeorge</string> </value>
<value> <string>zope</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
......@@ -232,7 +232,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>972.46882.63089.27869</string> </value>
<value> <string>972.49941.49847.30242</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -250,7 +250,7 @@
</tuple>
<state>
<tuple>
<float>1546418134.48</float>
<float>1546607711.98</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