Skip to content

Commit 502b860

Browse files
committed
MAGETWO-60982: AJAX calls does not process error responses
1 parent f20c44e commit 502b860

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lib/web/mage/backend/bootstrap.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ define([
1515
'use strict';
1616

1717
var errorMessages = {
18-
'error': $.mage.__('HTTP Error'),
19-
'abort': $.mage.__('The request was aborted by the server'),
20-
'timeout': $.mage.__('The request timed out'),
21-
'parsererror': $.mage.__('XML/Json format is bad')
22-
};
23-
var bootstrap;
18+
error: $.mage.__('HTTP Error'),
19+
abort: $.mage.__('The request was aborted by the server'),
20+
timeout: $.mage.__('The request timed out'),
21+
parsererror: $.mage.__('XML/Json format is bad')
22+
},
23+
bootstrap;
2424

2525
$.ajaxSetup({
2626
/*

0 commit comments

Comments
 (0)