Commit bb34510b authored by Romain Courteaud's avatar Romain Courteaud

erp5_officejs: drop error catchall

Coding crime.

See nexedi/erp5@cbb3b35b
parent ca983780
/*global document, window, rJS, jIO, console */ /*global document, window, rJS, jIO, console, RSVP */
/*jslint nomen: true, indent: 2, maxerr: 10, maxlen: 80 */ /*jslint nomen: true, indent: 2, maxerr: 10, maxlen: 80 */
(function (document, window, rJS, jIO, console) { (function (document, window, rJS, jIO, console) {
"use strict"; "use strict";
rJS(window) rJS(window)
///////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////
// Acquired methods // Acquired methods
///////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////
...@@ -135,12 +134,6 @@ ...@@ -135,12 +134,6 @@
scope: 'officejs_form_view'}) scope: 'officejs_form_view'})
.push(function (form_view_gadget) { .push(function (form_view_gadget) {
return form_view_gadget.render(gadget.state); return form_view_gadget.render(gadget.state);
}, function (error) {
console.log(error);
return gadget.notifySubmitted({
message: "Error rendering view",
status: "error"
});
}) })
.push(function () { .push(function () {
return gadget.updatePanel({ return gadget.updatePanel({
......
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>1005.28342.42231.36778</string> </value> <value> <string>1005.39859.21918.51370</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -252,7 +252,7 @@ ...@@ -252,7 +252,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1672734165.2</float> <float>1673425174.79</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