Commit 62045a22 authored by Romain Courteaud's avatar Romain Courteaud

erp5_web_renderjs_ui: listbox: allow loading the gadget without calling render

parent ff288746
...@@ -881,7 +881,8 @@ ...@@ -881,7 +881,8 @@
/* Function `fetchLineContent` calls changeState({"allDocs_result": JIO.allDocs()}) /* Function `fetchLineContent` calls changeState({"allDocs_result": JIO.allDocs()})
so this if gets re-evaluated later with allDocs_result defined. */ so this if gets re-evaluated later with allDocs_result defined. */
if (gadget.state.allDocs_result === undefined) { if (modification_dict.hasOwnProperty('render_timestamp') &&
(gadget.state.allDocs_result === undefined)) {
// Trigger line content calculation // Trigger line content calculation
result_queue result_queue
.push(function () { .push(function () {
......
...@@ -240,7 +240,7 @@ ...@@ -240,7 +240,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>979.27738.39874.9932</string> </value> <value> <string>981.52223.62350.51473</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -258,7 +258,7 @@ ...@@ -258,7 +258,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1572276942.85</float> <float>1581523438.08</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