parent
13085776d8
commit
f72411c628
|
@ -69,10 +69,10 @@
|
||||||
*/
|
*/
|
||||||
this.modules = {};
|
this.modules = {};
|
||||||
|
|
||||||
var self = this;
|
var _this = this;
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
self.initialize();
|
_this.initialize();
|
||||||
self = null;
|
_this = null;
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -94,9 +94,9 @@
|
||||||
this.loader = new Icinga.Loader(this);
|
this.loader = new Icinga.Loader(this);
|
||||||
this.events = new Icinga.Events(this);
|
this.events = new Icinga.Events(this);
|
||||||
this.history = new Icinga.History(this);
|
this.history = new Icinga.History(this);
|
||||||
var self = this;
|
var _this = this;
|
||||||
$.each(Icinga.Behaviors, function(name, Behavior) {
|
$.each(Icinga.Behaviors, function(name, Behavior) {
|
||||||
self.behaviors[name.toLowerCase()] = new Behavior(self);
|
_this.behaviors[name.toLowerCase()] = new Behavior(_this);
|
||||||
});
|
});
|
||||||
|
|
||||||
this.timezone.initialize();
|
this.timezone.initialize();
|
||||||
|
|
Loading…
Reference in New Issue