Skip to content

Commit 0bb8734

Browse files
committed
ACP2E-1369: clear previous error message if ajax request completed on subsequent try
1 parent 7e90ca5 commit 0bb8734

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/web/mage/backend/bootstrap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ define([
6262

6363
if (jqXHR.readyState === 4) {
6464
try {
65+
$('body').notification('clear');
6566
jsonObject = JSON.parse(jqXHR.responseText);
66-
6767
if (jsonObject.ajaxExpired && jsonObject.ajaxRedirect) { //eslint-disable-line max-depth
6868
window.location.replace(jsonObject.ajaxRedirect);
6969
}

0 commit comments

Comments
 (0)