mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-30 17:24:16 +02:00
JS: Disable fixControls()
This commit is contained in:
parent
d2187c3716
commit
cfbeb26354
@ -529,11 +529,11 @@
|
||||
initializeControls: function(container) {
|
||||
var $container = $(container);
|
||||
|
||||
if ($container.parent('.dashboard').length || $('#layout').hasClass('fullscreen-layout')) {
|
||||
/* if ($container.parent('.dashboard').length || $('#layout').hasClass('fullscreen-layout')) {
|
||||
return;
|
||||
}
|
||||
}*/
|
||||
|
||||
$container.find('.controls').each(function() {
|
||||
/* $container.find('.controls').each(function() {
|
||||
var $controls = $(this);
|
||||
if (! $controls.prev('.fake-controls').length) {
|
||||
var $tabs = $controls.find('.tabs', $controls);
|
||||
@ -552,12 +552,12 @@
|
||||
position: 'fixed'
|
||||
});
|
||||
}
|
||||
});
|
||||
});*/
|
||||
|
||||
this.fixControls($container);
|
||||
},
|
||||
|
||||
fixControls: function($container) {
|
||||
fixControls2: function($container) {
|
||||
var $layout = $('#layout');
|
||||
|
||||
if ($layout.hasClass('fullscreen-layout')) {
|
||||
@ -664,6 +664,11 @@
|
||||
}
|
||||
},
|
||||
|
||||
fixControls: function ($container) {
|
||||
console.log('fixControls');
|
||||
return false;
|
||||
},
|
||||
|
||||
toggleFullscreen: function () {
|
||||
$('#layout').toggleClass('fullscreen-layout');
|
||||
this.fixControls();
|
||||
|
Loading…
x
Reference in New Issue
Block a user