Commit 513ba454 authored by Roque's avatar Roque

erp5_officejs: missing panel parameter

parent 1f5547b4
......@@ -132,7 +132,8 @@
})
.push(function () {
return gadget.updatePanel({
portal_type: gadget.state.portal_type
portal_type: gadget.state.portal_type,
jio_key: gadget.state.jio_key
});
});
})
......
......@@ -228,7 +228,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>979.50856.31887.45926</string> </value>
<value> <string>979.51851.2310.1706</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -246,7 +246,7 @@
</tuple>
<state>
<tuple>
<float>1573722901.97</float>
<float>1573728851.76</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -127,6 +127,7 @@
view_list: view_list,
global: true,
portal_type: options.portal_type,
jio_key: options.jio_key,
editable: options.editable || editable || false
});
});
......@@ -279,8 +280,8 @@
return gadget.declareGadget("gadget_officejs_common_util.html");
})
.push(function (gadget_utils) {
var portal_type = modification_dict.portal_type;
return gadget_utils.getViewAndActionDict(portal_type);
return gadget_utils.getViewAndActionDict(modification_dict.portal_type,
modification_dict.jio_key);
})
.push(function (view_action_dict) {
return RSVP.all([
......
......@@ -225,7 +225,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>979.51885.14648.1109</string> </value>
<value> <string>979.51953.14282.5120</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -243,7 +243,7 @@
</tuple>
<state>
<tuple>
<float>1573724977.77</float>
<float>1573729132.16</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