Notify the tree when the container was probably resized.

This commit is contained in:
yackob03 2013-10-17 14:29:47 -04:00
parent 898210065e
commit 7c289beba5
4 changed files with 32 additions and 1 deletions

View file

@ -313,6 +313,12 @@ function RepoCtrl($scope, Restangular, $routeParams, $rootScope, $location) {
}
};
$scope.$watch('repo', function() {
if ($scope.tree) {
$scope.tree.notifyResized();
}
});
var listImages = function() {
if ($scope.imageHistory) { return; }