From 4abd1e8a9d272695eb5373d4977bc46852de9dba Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Mon, 14 Jul 2014 17:24:25 -0400 Subject: [PATCH] Add missing $scope to the on error callback --- static/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/app.js b/static/js/app.js index 4cf0f19d8..804979230 100644 --- a/static/js/app.js +++ b/static/js/app.js @@ -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 () {