Add missing $scope to the on error callback
This commit is contained in:
parent
a1755cfbf7
commit
4abd1e8a9d
1 changed files with 1 additions and 1 deletions
|
@ -465,7 +465,7 @@ quayApp = angular.module('quay', quayDependencies, function($provide, cfpLoading
|
|||
var start = new Date();
|
||||
var xhr = new XMLHttpRequest();
|
||||
xhr.onerror = function() {
|
||||
reportPingResult(url, -1, callback);
|
||||
reportPingResult($scope, url, -1, callback);
|
||||
};
|
||||
|
||||
xhr.onreadystatechange = function () {
|
||||
|
|
Reference in a new issue