diff --git a/rhodecode/templates/pullrequests/pullrequest.mako b/rhodecode/templates/pullrequests/pullrequest.mako --- a/rhodecode/templates/pullrequests/pullrequest.mako +++ b/rhodecode/templates/pullrequests/pullrequest.mako @@ -313,9 +313,12 @@ loadRepoRefDiffPreview._currentRequest = $.get(url) .error(function(data, textStatus, errorThrown) { - alert( - "Error while processing request.\nError code {0} ({1}).".format( - data.status, data.statusText)); + if (textStatus !== 'abort') { + alert( + "Error while processing request.\nError code {0} ({1}).".format( + data.status, data.statusText)); + } + }) .done(function(data) { loadRepoRefDiffPreview._currentRequest = null;