Fix UI controls AFTER detecting a layout change

This commit is contained in:
Thomas Gelf 2014-03-25 07:51:33 +00:00
parent bfb123eec7
commit d8c758056f
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,6 @@
*/ */
onWindowResize: function (event) { onWindowResize: function (event) {
var self = event.data.self; var self = event.data.self;
self.fixControls();
if (self.layoutHasBeenChanged()) { if (self.layoutHasBeenChanged()) {
self.icinga.logger.info( self.icinga.logger.info(
@ -156,6 +155,7 @@
self.currentLayout self.currentLayout
); );
} }
self.fixControls();
self.refreshDebug(); self.refreshDebug();
}, },