Commit d5bd3a71 authored by Roque's avatar Roque

erp5_officejs: parameters in custom submit

parent 58fce367
......@@ -252,7 +252,7 @@
return gadget.declareGadget(gadget.state.form_definition
.portal_type_dict.custom_submit)
.push(function (submit_gadget) {
return submit_gadget.handle_submit();
return submit_gadget.handle_submit(argument_list, gadget.state);
});
}
return gadget.getDeclaredGadget('erp5_pt_gadget')
......
......@@ -258,7 +258,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>1016.14890.24523.14677</string> </value>
<value> <string>1016.16487.35682.47769</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -278,7 +278,7 @@
</tuple>
<state>
<tuple>
<float>1714403201.71</float>
<float>1714499140.48</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