parent
e4a0678df0
commit
0c34c20640
|
@ -89,12 +89,6 @@
|
|||
if ($searchField.length && $searchField.val().length) {
|
||||
self.searchValue = $searchField.val();
|
||||
}
|
||||
|
||||
if (icinga.ui.isOneColLayout()) {
|
||||
icinga.ui.disableCloseButtons();
|
||||
} else {
|
||||
icinga.ui.enableCloseButtons();
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
|
@ -269,8 +269,6 @@
|
|||
this.icinga.logger.debug('Switching to single col');
|
||||
$('#layout').removeClass('twocols');
|
||||
this.closeContainer($('#col2'));
|
||||
this.disableCloseButtons();
|
||||
|
||||
// one-column layouts never have any selection active
|
||||
this.icinga.behaviors.actiontable.clearAll();
|
||||
},
|
||||
|
@ -281,6 +279,7 @@
|
|||
$c.removeData('lastUpdate');
|
||||
$c.removeData('icingaModule');
|
||||
this.icinga.loader.stopPendingRequestsFor($c);
|
||||
$c.trigger('close-column');
|
||||
$c.html('');
|
||||
this.fixControls();
|
||||
},
|
||||
|
@ -290,7 +289,6 @@
|
|||
this.icinga.logger.debug('Switching to double col');
|
||||
$('#layout').addClass('twocols');
|
||||
this.fixControls();
|
||||
this.enableCloseButtons();
|
||||
},
|
||||
|
||||
getAvailableColumnSpace: function () {
|
||||
|
@ -508,14 +506,6 @@
|
|||
}
|
||||
},
|
||||
|
||||
disableCloseButtons: function () {
|
||||
$('a.close-container-control').hide();
|
||||
},
|
||||
|
||||
enableCloseButtons: function () {
|
||||
$('a.close-close-container-control').show();
|
||||
},
|
||||
|
||||
/**
|
||||
* Toggle mobile menu
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue