Notify the tree when the container was probably resized.
This commit is contained in:
parent
898210065e
commit
7c289beba5
4 changed files with 32 additions and 1 deletions
|
@ -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; }
|
||||
|
||||
|
|
Reference in a new issue