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