GUAC-975: Always hide status dialogs upon navigation.

This commit is contained in:
Michael Jumper
2015-01-04 18:11:32 -08:00
parent 47d03a8974
commit 66779543c4
2 changed files with 5 additions and 3 deletions

View File

@@ -517,9 +517,6 @@ angular.module('client').controller('clientController', ['$scope', '$routeParams
}
// Hide any status dialog
$scope.showStatus(false);
});
}]);

View File

@@ -198,12 +198,17 @@ angular.module('index').controller('indexController', ['$scope', '$injector',
// Update title and CSS class upon navigation
$scope.$on('$routeChangeSuccess', function(event, current, previous) {
// Set title
var title = current.$$route.title;
if (title)
$scope.page.title = title;
// Set body CSS class
$scope.page.bodyClassName = current.$$route.bodyClassName || '';
// Hide any status dialog
$scope.showStatus(false);
});
}]);