Commit 1eed755e authored by Romain Courteaud's avatar Romain Courteaud

[erp5_web_renderjs_ui] Prevent default when clicking on listbox button

parent 51f8f51a
......@@ -533,6 +533,7 @@
url,
options = {};
if (evt.target === sort_button) {
evt.preventDefault();
url = "gadget_erp5_sort_editor.html";
options.sort_column_list = gadget.props.field_json.sort_column_list;
options.sort_list = gadget.props.sort_list;
......@@ -540,6 +541,7 @@
return gadget.renderEditorPanel(url, options);
}
if (evt.target === hide_button) {
evt.preventDefault();
return new RSVP.Queue()
.push(function () {
var i,
......
......@@ -236,7 +236,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>954.28831.10592.12339</string> </value>
<value> <string>954.32802.16853.18875</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -254,7 +254,7 @@
</tuple>
<state>
<tuple>
<float>1475852314.74</float>
<float>1476090462.0</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