Commit bffba949 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 1afe9288
...@@ -287,7 +287,7 @@ ...@@ -287,7 +287,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>985.49865.7906.35925</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>1596764862.76</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