mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-31 01:34:09 +02:00
parent
13085776d8
commit
f72411c628
@ -69,10 +69,10 @@
|
||||
*/
|
||||
this.modules = {};
|
||||
|
||||
var self = this;
|
||||
var _this = this;
|
||||
$(document).ready(function () {
|
||||
self.initialize();
|
||||
self = null;
|
||||
_this.initialize();
|
||||
_this = null;
|
||||
});
|
||||
};
|
||||
|
||||
@ -94,9 +94,9 @@
|
||||
this.loader = new Icinga.Loader(this);
|
||||
this.events = new Icinga.Events(this);
|
||||
this.history = new Icinga.History(this);
|
||||
var self = this;
|
||||
var _this = this;
|
||||
$.each(Icinga.Behaviors, function(name, Behavior) {
|
||||
self.behaviors[name.toLowerCase()] = new Behavior(self);
|
||||
_this.behaviors[name.toLowerCase()] = new Behavior(_this);
|
||||
});
|
||||
|
||||
this.timezone.initialize();
|
||||
|
Loading…
x
Reference in New Issue
Block a user