Commit e5e19c15 authored by Romain Courteaud's avatar Romain Courteaud

erp5_web_renderjs_ui: add triggerSubmit support on access gadget

parent 80bc9c84
...@@ -77,7 +77,12 @@ ...@@ -77,7 +77,12 @@
.declareAcquiredMethod("jio_getAttachment", "jio_getAttachment") .declareAcquiredMethod("jio_getAttachment", "jio_getAttachment")
.declareMethod('triggerSubmit', function () { .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 () { .allowPublicAcquisition('updateHeader', function () {
......
...@@ -242,7 +242,7 @@ ...@@ -242,7 +242,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>989.58958.48545.8448</string> </value> <value> <string>991.25772.62050.38894</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -262,7 +262,7 @@ ...@@ -262,7 +262,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1612866299.0</float> <float>1660653276.5</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </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