Add missing $scope to the on error callback

This commit is contained in:
Joseph Schorr 2014-07-14 17:24:25 -04:00
parent a1755cfbf7
commit 4abd1e8a9d

View file

@ -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 () {