Commit 4225ba0d authored by Romain Courteaud's avatar Romain Courteaud

erp5_web_renderjs_ui: add triggerSubmit support on access gadget

parent cc392e65
......@@ -77,7 +77,12 @@
.declareAcquiredMethod("jio_getAttachment", "jio_getAttachment")
.declareMethod('triggerSubmit', function () {
return;
var argument_list = arguments;
return loadChildGadget(this, "gadget_erp5_page_form.html",
false,
function (form_gadget) {
return form_gadget.triggerSubmit.call(form_gadget, argument_list);
});
})
.allowPublicAcquisition('updateHeader', function () {
......
......@@ -242,7 +242,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>989.58958.48545.8448</string> </value>
<value> <string>991.25772.62050.38894</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -262,7 +262,7 @@
</tuple>
<state>
<tuple>
<float>1612866299.0</float>
<float>1660653276.5</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