Merge "Status: Don't raise "abort" as error to the user"

This commit is contained in:
Jenkins 2015-06-30 16:02:31 +00:00 committed by Gerrit Code Review
commit 9fa869ba8b

View File

@ -682,7 +682,10 @@
data.result_event_queue.length : '0'
);
})
.fail(function (err, jqXHR, errMsg) {
.fail(function (jqXHR, statusText, errMsg) {
if (statusText === 'abort') {
return;
}
$msg.text(options.source + ': ' + errMsg)
.addClass('alert-danger')
.removeClass('zuul-msg-wrap-off')