Commit c31922d1 authored by Gabriel Monnerat's avatar Gabriel Monnerat

erp5_web_renderjs_ui: set graphic type in the URL and render it automatically if exists

parent 6ba5182d
......@@ -240,7 +240,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>994.25329.16170.62481</string> </value>
<value> <string>997.9256.52516.32426</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -258,7 +258,7 @@
</tuple>
<state>
<tuple>
<float>1630077204.4</float>
<float>1640736604.19</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -179,8 +179,13 @@
"select_list": select_list
};
}
return gadget.getUrlParameter('extended_search')
.push(function (extended_search) {
return new RSVP.Queue(RSVP.all([
gadget.getUrlParameter('extended_search'),
gadget.getUrlParameter('graphic_select_id')
]))
.push(function (result_list) {
var extended_search = result_list[0],
graphic_select_id = result_list[1];
if (extended_search) {
jio_query_list.push(Query.parseStringToObject(extended_search));
}
......
......@@ -246,7 +246,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>997.7486.55612.53862</string> </value>
<value> <string>997.9171.49361.29986</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -264,7 +264,7 @@
</tuple>
<state>
<tuple>
<float>1640630356.79</float>
<float>1640731509.5</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