Skip to content

Commit

Permalink
#353 remember if we have to close the detail view due to resuming - s…
Browse files Browse the repository at this point in the history
…o we can reopen it again
  • Loading branch information
jstrachan committed Jun 4, 2013
1 parent 836bbcc commit f60483d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions hawtio-web/src/main/webapp/app/camel/js/debug.ts
Expand Up @@ -234,8 +234,14 @@ module Camel {
function updateMessageSelection() {
$scope.selectRowIndex($scope.rowIndex);
// close the detail view if we've no message any more

if (!$scope.row) {
$scope.lastDetailShow = $scope.messageDialog.show;
$scope.messageDialog.close();
} else {
if ($scope.lastDetailShow) {
$scope.messageDialog.open();
}
}
}

Expand Down

0 comments on commit f60483d

Please sign in to comment.