From 8a0d6d05b4618992f738fab078496bb08d892f49 Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Wed, 30 Oct 2013 13:03:44 -0400 Subject: [PATCH] Fix case where image changes load results in a 404 --- static/js/controllers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/controllers.js b/static/js/controllers.js index f3954c6a9..1ea6fd055 100644 --- a/static/js/controllers.js +++ b/static/js/controllers.js @@ -433,7 +433,7 @@ function RepoCtrl($scope, Restangular, $routeParams, $rootScope, $location, $tim changesFetch.get().then(function(changeInfo) { $scope.currentImageChanges = changeInfo; }, function() { - $scope.currentImageChanges = {}; + $scope.currentImageChanges = {'added': [], 'removed': [], 'changed': []}; }); };