Commit ee887f00 authored by Romain Courteaud's avatar Romain Courteaud

erp5_web_renderjs_ui: listbox: allow loading the gadget without calling render

parent 7e9f3d80
......@@ -881,7 +881,8 @@
/* Function `fetchLineContent` calls changeState({"allDocs_result": JIO.allDocs()})
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
result_queue
.push(function () {
......
......@@ -240,7 +240,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>979.27738.39874.9932</string> </value>
<value> <string>981.52223.62350.51473</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -258,7 +258,7 @@
</tuple>
<state>
<tuple>
<float>1572276942.85</float>
<float>1581523438.08</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