Commit de567325 authored by Roque's avatar Roque

erp5_web_monitoring: instance tree custom submit

parent 98a0e68c
......@@ -13,8 +13,14 @@
// declared methods
/////////////////////////////////////////////////////////////////
.declareMethod("handle_submit", function () {
return this.redirect({command: 'reload'});
.declareMethod("handle_submit", function (argument_list, options) {
switch (options.options.portal_type) {
case "Instance Tree":
//XXX do the old parameter gadget save here and fix it
return this.redirect({command: 'reload'});
default:
return this.redirect({command: 'reload'});
}
});
}(document, window, rJS, RSVP));
\ No newline at end of file
......@@ -242,7 +242,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>1016.14872.26274.31607</string> </value>
<value> <string>1016.16493.14116.1297</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -262,7 +262,7 @@
</tuple>
<state>
<tuple>
<float>1714402145.67</float>
<float>1714499837.65</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