Merge pull request #653 from nasa/open499

[Notifications] #499 All notifications now dismissable by default.
This commit is contained in:
Victor Woeltjen
2016-03-01 14:50:56 -08:00
7 changed files with 103 additions and 32 deletions

View File

@@ -60,6 +60,12 @@ define(
notification.model.cancel = function(){
dialogService.dismiss();
};
//If the notification is dismissed by the user, close
// the dialog.
notification.onDismiss(function(){
dialogService.dismiss();
});
dialogService.showBlockingMessage(notification.model);
}
};