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 @@
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>985.49865.7906.35925</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>1596764862.76</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