Commit 8ae8f1f5 authored by Romain Courteaud's avatar Romain Courteaud

[erp5_web_renderjs_ui] Also show left panel for sub documents

parent a408c245
...@@ -136,7 +136,7 @@ ...@@ -136,7 +136,7 @@
.push(function () { .push(function () {
var jio_key = gadget.state.options.jio_key; var jio_key = gadget.state.options.jio_key;
/*jslint regexp: true*/ /*jslint regexp: true*/
if (/^[^\/]+_module\/[^\/]+$/.test(jio_key)) { if (/^[^\/]+_module\/.+$/.test(jio_key)) {
/*jslint regexp: false*/ /*jslint regexp: false*/
return gadget.updatePanel({ return gadget.updatePanel({
erp5_document: JSON.parse(gadget.state.erp5_document), erp5_document: JSON.parse(gadget.state.erp5_document),
......
...@@ -230,7 +230,7 @@ ...@@ -230,7 +230,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>957.39730.12250.6587</string> </value> <value> <string>958.2825.24067.48281</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -248,7 +248,7 @@ ...@@ -248,7 +248,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1488216811.75</float> <float>1489674820.97</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