dashboard: do not fix and hide any controls
It would be better if view scripts would care about this, but as we failed so many times this might be the better option. fixes #8697
This commit is contained in:
parent
16ca8d0654
commit
3af36015ff
|
@ -163,6 +163,11 @@ html {
|
|||
|
||||
.dashboard .content {
|
||||
padding: 0;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.dashboard .controls {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Not growing larger than 3840px at 1em=16px right now */
|
||||
|
|
|
@ -718,6 +718,9 @@
|
|||
initializeControls: function (parent) {
|
||||
|
||||
var self = this;
|
||||
if ($(parent).closest('.dashboard').length) {
|
||||
return;
|
||||
}
|
||||
|
||||
$('.controls', parent).each(function (idx, el) {
|
||||
var $el = $(el);
|
||||
|
@ -761,6 +764,10 @@
|
|||
return;
|
||||
}
|
||||
|
||||
if ($parent.closest('.dashboard').length) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Enable this only in case you want to track down UI problems
|
||||
// self.icinga.logger.debug('Fixing controls for ', $parent);
|
||||
|
||||
|
|
Loading…
Reference in New Issue