mirror of
https://github.com/nasa/openmct.git
synced 2024-12-20 13:43:09 +00:00
Fixed jslint errors
This commit is contained in:
parent
83276d70d3
commit
e3ef68bc6f
@ -130,15 +130,13 @@ define(
|
||||
" dialog. This dialog can be used to draw the user's" +
|
||||
" attention to an event.",
|
||||
severity: "info",
|
||||
options: [
|
||||
{
|
||||
primaryOption: {
|
||||
label: "OK",
|
||||
callback: function () {
|
||||
$log.debug("OK Pressed");
|
||||
dialogService.dismiss();
|
||||
}
|
||||
},
|
||||
]
|
||||
}
|
||||
};
|
||||
|
||||
if (!dialogService.showBlockingMessage(model)) {
|
||||
|
@ -55,7 +55,7 @@ define(
|
||||
notificationService.dismissOrMinimize(notification);
|
||||
};
|
||||
$scope.maximize = function(notification) {
|
||||
if (notification.severity != "info"){
|
||||
if (notification.severity !== "info"){
|
||||
notification.cancel = function(){
|
||||
dialogService.dismiss();
|
||||
};
|
||||
|
@ -137,7 +137,7 @@ define(
|
||||
"alert": 2,
|
||||
"error": 3
|
||||
};
|
||||
notification.severity = notification.severity || "info"
|
||||
notification.severity = notification.severity || "info";
|
||||
if (notification.autoDismiss === true){
|
||||
notification.autoDismiss = this.DEFAULT_AUTO_DISMISS;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user