mirror of
https://github.com/nasa/openmct.git
synced 2025-06-17 22:58:14 +00:00
Merge remote-tracking branch 'origin/open254'
This commit is contained in:
@ -54,17 +54,17 @@ define(
|
||||
};
|
||||
$scope.maximize = function (notification) {
|
||||
if (notification.model.severity !== "info") {
|
||||
|
||||
var dialog;
|
||||
notification.model.cancel = function () {
|
||||
dialogService.dismiss();
|
||||
dialog.dismiss();
|
||||
};
|
||||
//If the notification is dismissed by the user, close
|
||||
// the dialog.
|
||||
notification.onDismiss(function () {
|
||||
dialogService.dismiss();
|
||||
dialog.dismiss();
|
||||
});
|
||||
|
||||
dialogService.showBlockingMessage(notification.model);
|
||||
dialog = dialogService.showBlockingMessage(notification.model);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user