Skip to content

Commit

Permalink
fix bug that closing the newly opened tab doesn't allow you to connec…
Browse files Browse the repository at this point in the history
…t again until you click twice
  • Loading branch information
jstrachan committed Nov 6, 2013
1 parent 7307eb1 commit 0b53bb9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion hawtio-web/src/main/webapp/app/fabric/js/helpers.ts
Expand Up @@ -200,7 +200,10 @@ module Fabric {
options.view = $scope.connect.view;
Fabric.connect(localStorage, container, userName, password, true, options);
$scope.connect.container = {};
$scope.connect.dialog.close();
setTimeout(() => {
$scope.connect.dialog.close();
Core.$apply($scope);
}, 100);
}
};

Expand Down

0 comments on commit 0b53bb9

Please sign in to comment.