Commit 61a2dc53 authored by Romain Courteaud's avatar Romain Courteaud

erp5_web_renderjs_ui: add triggerSubmit support on access gadget

parent f1fa6fac
...@@ -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 () {
......
...@@ -228,7 +228,7 @@ ...@@ -228,7 +228,7 @@
</item> </item>
<item> <item>
<key> <string>actor</string> </key> <key> <string>actor</string> </key>
<value> <unicode>zope</unicode> </value> <value> <string>zope</string> </value>
</item> </item>
<item> <item>
<key> <string>comment</string> </key> <key> <string>comment</string> </key>
...@@ -242,7 +242,7 @@ ...@@ -242,7 +242,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>1019.35820.17369.64529</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>1727282760.47</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