Commit 08980c06 authored by Gabriel Monnerat's avatar Gabriel Monnerat

erp5_web_renderjs_ui: Set graphic type when graphic is reloaded

parent c31922d1
......@@ -1215,7 +1215,9 @@
domain_list = [],
domain_id,
domain;
gadget.element.querySelector(
'select[name="GraphicSelect"]'
).value = gadget.state.graphic_type;
for (i = 0; i < column_list_json.length; i += 1) {
if (column_list_json[i][0] === gadget.state.graphic_type) {
group_by = column_list_json[i][0];
......
......@@ -240,7 +240,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>997.9256.52516.32426</string> </value>
<value> <string>997.10044.21385.7219</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -258,7 +258,7 @@
</tuple>
<state>
<tuple>
<float>1640736604.19</float>
<float>1640784531.93</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