Fix resize issue on build pack tree

This commit is contained in:
Joseph Schorr 2014-02-17 21:21:55 -05:00
parent d1922c6fd2
commit 0e566b63cf
2 changed files with 7 additions and 4 deletions

View file

@ -785,7 +785,10 @@ function BuildPackageCtrl($scope, Restangular, ApiService, $routeParams, $rootSc
};
$scope.initializeTree = function() {
if ($scope.drawn) { return; }
if ($scope.drawn) {
$scope.tree.notifyResized();
return;
}
$scope.drawn = true;
$timeout(function() {