GUAC-975: Always hide status dialogs upon navigation.
This commit is contained in:
1 parent
47d03a8974
commit
66779543c4
2 files changed
+5
-3
No files matched your search
@@ -517,9 +517,6 @@ angular.module('client').controller('clientController', ['$scope', '$routeParams
|
||||
|
||||
}
|
||||
|
||||
// Hide any status dialog
|
||||
$scope.showStatus(false);
|
||||
|
||||
});
|
||||
|
||||
}]);
|
||||
@@ -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);
|
||||
|
||||
});
|
||||
|
||||
}]);
|
||||
Reference in new issue
Block a user