Fix NPE and other small issues with the new image view

This commit is contained in:
Joseph Schorr 2015-03-24 19:28:24 -04:00
parent 3d44416016
commit 0d98776d54
4 changed files with 18 additions and 6 deletions

View file

@ -73,7 +73,7 @@
};
$scope.initializeTree = function() {
if ($scope.tree) { return; }
if ($scope.tree || !$scope.combinedChanges.length) { return; }
$scope.tree = new ImageFileChangeTree($scope.image, $scope.combinedChanges);
$timeout(function() {