mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
parent
4f52beb32a
commit
cf5e26c56c
@ -211,16 +211,16 @@
|
|||||||
* Our window got resized, let's fix our UI
|
* Our window got resized, let's fix our UI
|
||||||
*/
|
*/
|
||||||
onWindowResize: function (event) {
|
onWindowResize: function (event) {
|
||||||
var self = event.data.self;
|
var _this = event.data.self;
|
||||||
|
|
||||||
if (self.layoutHasBeenChanged()) {
|
if (_this.layoutHasBeenChanged()) {
|
||||||
self.icinga.logger.info(
|
_this.icinga.logger.info(
|
||||||
'Layout change detected, switching to',
|
'Layout change detected, switching to',
|
||||||
self.currentLayout
|
_this.currentLayout
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
self.fixControls();
|
_this.fixControls();
|
||||||
self.refreshDebug();
|
_this.refreshDebug();
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -458,7 +458,6 @@
|
|||||||
* Initialize all TriStateCheckboxes in the given html
|
* Initialize all TriStateCheckboxes in the given html
|
||||||
*/
|
*/
|
||||||
initializeTriStates: function ($html) {
|
initializeTriStates: function ($html) {
|
||||||
var self = this;
|
|
||||||
$('div.tristate', $html).each(function(index, item) {
|
$('div.tristate', $html).each(function(index, item) {
|
||||||
var $target = $(item);
|
var $target = $(item);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user