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 */
(function (document, window, rJS, jIO, console) {
"use strict";
rJS(window)
/////////////////////////////////////////////////////////////////
// Acquired methods
/////////////////////////////////////////////////////////////////
......@@ -37,10 +36,10 @@
window.location.host.length;
current_version = current_version.substr(index);
return gadget.getSettingList(["migration_version",
"app_view_reference",
"parent_portal_type",
'default_view_reference',
'app_actions'])
"app_view_reference",
"parent_portal_type",
'default_view_reference',
'app_actions'])
.push(function (setting_list) {
app_view = options.action || setting_list[1];
parent_portal_type = setting_list[2];
......@@ -135,12 +134,6 @@
scope: 'officejs_form_view'})
.push(function (form_view_gadget) {
return form_view_gadget.render(gadget.state);
}, function (error) {
console.log(error);
return gadget.notifySubmitted({
message: "Error rendering view",
status: "error"
});
})
.push(function () {
return gadget.updatePanel({
......
......@@ -234,7 +234,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>1005.28342.42231.36778</string> </value>
<value> <string>1005.39859.21918.51370</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -252,7 +252,7 @@
</tuple>
<state>
<tuple>
<float>1672734165.2</float>
<float>1673425174.79</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