##// END OF EJS Templates
pull-requests: don't report abort type of ajax requests as errors.
marcink -
r2480:a15e9323 default
parent child Browse files
Show More
@@ -313,9 +313,12 b''
313 313
314 314 loadRepoRefDiffPreview._currentRequest = $.get(url)
315 315 .error(function(data, textStatus, errorThrown) {
316 alert(
317 "Error while processing request.\nError code {0} ({1}).".format(
318 data.status, data.statusText));
316 if (textStatus !== 'abort') {
317 alert(
318 "Error while processing request.\nError code {0} ({1}).".format(
319 data.status, data.statusText));
320 }
321
319 322 })
320 323 .done(function(data) {
321 324 loadRepoRefDiffPreview._currentRequest = null;
General Comments 0
You need to be logged in to leave comments. Login now