mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
Just comments
This commit is contained in:
parent
227b65558c
commit
ac0980b111
@ -193,10 +193,16 @@
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Disable the autorefresh mechanism
|
||||||
|
*/
|
||||||
disableAutorefresh: function () {
|
disableAutorefresh: function () {
|
||||||
this.autorefreshEnabled = false;
|
this.autorefreshEnabled = false;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Enable the autorefresh mechanism
|
||||||
|
*/
|
||||||
enableAutorefresh: function () {
|
enableAutorefresh: function () {
|
||||||
this.autorefreshEnabled = true;
|
this.autorefreshEnabled = true;
|
||||||
},
|
},
|
||||||
@ -374,6 +380,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Regardless of whether a request succeeded of failed, clean up
|
||||||
|
*/
|
||||||
onComplete: function (req, textStatus) {
|
onComplete: function (req, textStatus) {
|
||||||
delete this.requests[req.$target.attr('id')];
|
delete this.requests[req.$target.attr('id')];
|
||||||
this.icinga.ui.fadeNotificationsAway();
|
this.icinga.ui.fadeNotificationsAway();
|
||||||
@ -436,6 +445,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a notification. Can be improved.
|
||||||
|
*/
|
||||||
createNotice: function (severity, message, persist) {
|
createNotice: function (severity, message, persist) {
|
||||||
var c = severity;
|
var c = severity;
|
||||||
if (persist) {
|
if (persist) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user