Skip to content

Commit

Permalink
reload the perspective & toolbar if the JMX tree reloads (e.g. if a n…
Browse files Browse the repository at this point in the history
…ew mbean comes or goes)
  • Loading branch information
jstrachan committed Oct 11, 2013
1 parent 0fe96b5 commit ff01165
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions hawtio-web/src/main/webapp/app/core/js/navbar.ts
Expand Up @@ -17,6 +17,11 @@ module Core {
return workspace.topLevelTabs;
};


$scope.$on('jmxTreeUpdated', function () {
reloadPerspective();
});

$scope.subLevelTabs = () => workspace.subLevelTabs;

$scope.validSelection = (uri) => workspace.validSelection(uri);
Expand Down

0 comments on commit ff01165

Please sign in to comment.