Commit 872c343d authored by alexpott's avatar alexpott

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
......@@ -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>');
}
});
}
......
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