mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-31 01:34:09 +02:00
Rename close-toggle to close-container-control
This commit is contained in:
parent
31df702a80
commit
7c1ccc685f
@ -50,7 +50,9 @@ EOT;
|
|||||||
*/
|
*/
|
||||||
private $closeTpl = <<< 'EOT'
|
private $closeTpl = <<< 'EOT'
|
||||||
<li class="dropdown" style="float: right;">
|
<li class="dropdown" style="float: right;">
|
||||||
<a href="#" class="dropdown-toggle close-toggle"> <i aria-hidden="true" class="icon-cancel"></i> </a>
|
<a href="#" class="dropdown-toggle close-container-control">
|
||||||
|
<i aria-hidden="true" class="icon-cancel"></i>
|
||||||
|
</a>
|
||||||
</li>
|
</li>
|
||||||
EOT;
|
EOT;
|
||||||
|
|
||||||
|
@ -485,7 +485,7 @@
|
|||||||
// If link has hash tag...
|
// If link has hash tag...
|
||||||
if (href.match(/#/)) {
|
if (href.match(/#/)) {
|
||||||
if (href === '#') {
|
if (href === '#') {
|
||||||
if ($a.hasClass('close-toggle')) {
|
if ($a.hasClass('close-container-control')) {
|
||||||
if (! icinga.ui.isOneColLayout()) {
|
if (! icinga.ui.isOneColLayout()) {
|
||||||
var $cont = $a.closest('.container').first();
|
var $cont = $a.closest('.container').first();
|
||||||
if ($cont.attr('id') === 'col1') {
|
if ($cont.attr('id') === 'col1') {
|
||||||
|
@ -502,11 +502,11 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
disableCloseButtons: function () {
|
disableCloseButtons: function () {
|
||||||
$('a.close-toggle').hide();
|
$('a.close-container-control').hide();
|
||||||
},
|
},
|
||||||
|
|
||||||
enableCloseButtons: function () {
|
enableCloseButtons: function () {
|
||||||
$('a.close-toggle').show();
|
$('a.close-close-container-control').show();
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user