Skip to content
Snippets Groups Projects
Commit 872c343d authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2000558 by pwolanin, nod_, dawehner: Regrression: Progress bar creates...

Issue #2000558 by pwolanin, nod_, dawehner: Regrression: Progress bar creates doesn't stop on errors.
parent 97087958
No related branches found
No related tags found
No related merge requests found
......@@ -87,7 +87,8 @@ $.extend(Drupal.ProgressBar.prototype, {
pb.timer = setTimeout(function () { pb.sendPing(); }, pb.delay);
},
error: function (xmlhttp) {
throw new Drupal.AjaxError(xmlhttp, pb.uri);
var e = new Drupal.AjaxError(xmlhttp, pb.uri);
pb.displayError('<pre>' + e.message + '</pre>');
}
});
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment