Commit 707a3227 authored by Roque's avatar Roque

erp5_officejs: main gadget updates panel parameter

parent d4cde62e
......@@ -14,6 +14,7 @@
.declareAcquiredMethod("getSettingList", "getSettingList")
.declareAcquiredMethod("notifySubmitted", 'notifySubmitted')
.declareAcquiredMethod("notifySubmitting", "notifySubmitting")
.declareAcquiredMethod("updatePanel", "updatePanel")
/////////////////////////////////////////////////////////////////
// declared methods
......@@ -128,6 +129,11 @@
message: "Error rendering view",
status: "error"
});
})
.push(function () {
return gadget.updatePanel({
portal_type: gadget.state.portal_type
});
});
})
......
......@@ -228,7 +228,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>979.7618.39284.59767</string> </value>
<value> <string>979.50856.31887.45926</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -246,7 +246,7 @@
</tuple>
<state>
<tuple>
<float>1571070879.6</float>
<float>1573722901.97</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