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