mirror of
https://github.com/nasa/openmct.git
synced 2025-01-19 11:17:04 +00:00
Moved some more vars
This commit is contained in:
parent
fc8630dbc6
commit
df590107cb
@ -199,7 +199,7 @@ define(
|
|||||||
notification = this.notifications[i];
|
notification = this.notifications[i];
|
||||||
|
|
||||||
if (!notification.minimized
|
if (!notification.minimized
|
||||||
&& notification!= this.activeNotification) {
|
&& notification!== this.activeNotification) {
|
||||||
|
|
||||||
return notification;
|
return notification;
|
||||||
}
|
}
|
||||||
|
@ -168,15 +168,16 @@ define(
|
|||||||
});
|
});
|
||||||
it("auto-minimizes errors when a number of them arrive in" +
|
it("auto-minimizes errors when a number of them arrive in" +
|
||||||
" short succession ", function() {
|
" short succession ", function() {
|
||||||
var activeNotification;
|
var activeNotification,
|
||||||
var error2 = {
|
error2 = {
|
||||||
title: "Second Mock Error Notification",
|
title: "Second Mock Error Notification",
|
||||||
severity: MessageSeverity.ERROR
|
severity: MessageSeverity.ERROR
|
||||||
};
|
};
|
||||||
var error3 = {
|
error3 = {
|
||||||
title: "Third Mock Error Notification",
|
title: "Third Mock Error Notification",
|
||||||
severity: MessageSeverity.ERROR
|
severity: MessageSeverity.ERROR
|
||||||
};
|
};
|
||||||
|
|
||||||
//First pre-load with a success message
|
//First pre-load with a success message
|
||||||
notificationService.notify(errorModel);
|
notificationService.notify(errorModel);
|
||||||
//Then notify of a third error
|
//Then notify of a third error
|
||||||
|
Loading…
Reference in New Issue
Block a user