Commit bf18f388 authored by Romain Courteaud's avatar Romain Courteaud

WIP erp5_web_renderjs_ui: remember access to tools sub documents

XXX check the length of jio_key instead (subdoc only)
parent 06c1faf7
...@@ -290,7 +290,7 @@ ...@@ -290,7 +290,7 @@
var hash = getDisplayUrlFor(jio_key, options), var hash = getDisplayUrlFor(jio_key, options),
queue; queue;
/*jslint regexp: true*/ /*jslint regexp: true*/
if (jio_key && /^[^\/]+_module\/[^\/]+$/.test(jio_key)) { if (jio_key && (/^[^\/]+_module\/[^\/]+$/.test(jio_key) || /^portal_[^\/]+\/[^\/]+$/.test(jio_key))) {
/*jslint regexp: false*/ /*jslint regexp: false*/
// This only work for remote access to ERP5... // This only work for remote access to ERP5...
queue = gadget.props.jio_navigation_gadget.put(jio_key, { queue = gadget.props.jio_navigation_gadget.put(jio_key, {
......
...@@ -236,7 +236,7 @@ ...@@ -236,7 +236,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>986.61109.20595.59733</string> </value> <value> <string>986.32404.49746.11571</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -254,7 +254,7 @@ ...@@ -254,7 +254,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1601371634.14</float> <float>1600953905.18</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