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];
|
||||
|
||||
if (!notification.minimized
|
||||
&& notification!= this.activeNotification) {
|
||||
&& notification!== this.activeNotification) {
|
||||
|
||||
return notification;
|
||||
}
|
||||
|
@ -168,15 +168,16 @@ define(
|
||||
});
|
||||
it("auto-minimizes errors when a number of them arrive in" +
|
||||
" short succession ", function() {
|
||||
var activeNotification;
|
||||
var error2 = {
|
||||
title: "Second Mock Error Notification",
|
||||
severity: MessageSeverity.ERROR
|
||||
};
|
||||
var error3 = {
|
||||
title: "Third Mock Error Notification",
|
||||
severity: MessageSeverity.ERROR
|
||||
};
|
||||
var activeNotification,
|
||||
error2 = {
|
||||
title: "Second Mock Error Notification",
|
||||
severity: MessageSeverity.ERROR
|
||||
};
|
||||
error3 = {
|
||||
title: "Third Mock Error Notification",
|
||||
severity: MessageSeverity.ERROR
|
||||
};
|
||||
|
||||
//First pre-load with a success message
|
||||
notificationService.notify(errorModel);
|
||||
//Then notify of a third error
|
||||
|
Loading…
Reference in New Issue
Block a user