Skip to content

Commit

Permalink
#763: Fixed potential undefined error when forwarding messages in Cam…
Browse files Browse the repository at this point in the history
…el plugin.
  • Loading branch information
davsclaus committed Nov 20, 2013
1 parent eab40a8 commit b50bb40
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hawtio-web/src/main/webapp/app/camel/js/browse.ts
Expand Up @@ -72,7 +72,9 @@ module Camel {
}

function operationSuccess() {
$scope.messageDialog.close();
if ($scope.messageDialog) {
$scope.messageDialog.close();
}
$scope.gridOptions.selectedItems.splice(0);
notification("success", $scope.message);
setTimeout(loadData, 50);
Expand Down

0 comments on commit b50bb40

Please sign in to comment.