Commit 2df7e77b authored by Roque's avatar Roque Committed by Roque

erp5_web_renderjs_ui: control on undefined value

parent bf4805d2
......@@ -76,7 +76,7 @@
splitted_current_jio_key_list,
command,
i;
if (is_updating || !result.jio_key) {
if (is_updating || !result || !result.jio_key) {
return;
}
if (gadget.state.redirect_to_parent) {
......
......@@ -142,13 +142,11 @@
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<global name="WorkflowHistoryList" module="Products.ERP5Type.Workflow"/>
<global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_log</string> </key>
<value>
<tuple>
<none/>
<list>
<dictionary>
<item>
......@@ -192,20 +190,16 @@
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</tuple>
</pickle>
</record>
<record id="4" aka="AAAAAAAAAAQ=">
<pickle>
<global name="WorkflowHistoryList" module="Products.ERP5Type.Workflow"/>
<global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_log</string> </key>
<value>
<tuple>
<none/>
<list>
<dictionary>
<item>
......@@ -228,7 +222,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>979.21958.43628.13243</string> </value>
<value> <string>979.63390.23192.15445</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -246,7 +240,7 @@
</tuple>
<state>
<tuple>
<float>1571996930.73</float>
<float>1574416039.72</float>
<string>UTC</string>
</tuple>
</state>
......@@ -255,9 +249,7 @@
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</tuple>
</pickle>
</record>
</ZopeData>
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