Commit d49e4ffd authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

erp5_officejs: Remove "fail" usage in web page and illustration page view

Use of fail is now a coding crime
parent a0668dd8
......@@ -145,8 +145,7 @@
})
.push(function () {
return text_gadget.getElement();
})
.fail(function (error) {
}, function (error) {
var display_error_element;
if (error === "Timed out after 5000 ms") {
display_error_element =
......
......@@ -146,8 +146,7 @@
})
.push(function () {
return text_gadget.getElement();
})
.fail(function (error) {
}, function (error) {
var display_error_element;
if (error === "Timed out after 5000 ms") {
display_error_element =
......
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