[Notifications] #499 All notifications now dismissable by default.

jslint
This commit is contained in:
Henry
2016-02-05 17:40:04 -08:00
parent 2dd9a16bf3
commit 5292b27e7d
7 changed files with 106 additions and 34 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);
}
};