Show More
@@ -313,9 +313,12 b'' | |||||
313 |
|
313 | |||
314 | loadRepoRefDiffPreview._currentRequest = $.get(url) |
|
314 | loadRepoRefDiffPreview._currentRequest = $.get(url) | |
315 | .error(function(data, textStatus, errorThrown) { |
|
315 | .error(function(data, textStatus, errorThrown) { | |
|
316 | if (textStatus !== 'abort') { | |||
316 | alert( |
|
317 | alert( | |
317 | "Error while processing request.\nError code {0} ({1}).".format( |
|
318 | "Error while processing request.\nError code {0} ({1}).".format( | |
318 | data.status, data.statusText)); |
|
319 | data.status, data.statusText)); | |
|
320 | } | |||
|
321 | ||||
319 | }) |
|
322 | }) | |
320 | .done(function(data) { |
|
323 | .done(function(data) { | |
321 | loadRepoRefDiffPreview._currentRequest = null; |
|
324 | loadRepoRefDiffPreview._currentRequest = null; |
General Comments 0
You need to be logged in to leave comments.
Login now