Commit 985fac5f authored by Mukul's avatar Mukul Committed by Xiaowu Zhang

[erp5_officejs] Fix ojs_controller to correctly pass jio_key in case of reusable gadget

parent 722dbdeb
......@@ -67,8 +67,8 @@
return gadget.getDeclaredGadget('fg')
.push(function (child_gadget) {
return child_gadget.render({
jio_key: modification_dict.jio_key,
doc: modification_dict.doc
jio_key: gadget.state.jio_key,
doc: gadget.state.doc
});
});
}
......
......@@ -227,7 +227,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>966.18236.16225.43793</string> </value>
<value> <string>967.6016.61211.59613</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -245,7 +245,7 @@
</tuple>
<state>
<tuple>
<float>1521715374.53</float>
<float>1524754712.51</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