mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-10 01:28:16 -06:00
Missed the uncheck class option. Revert !selected
This commit is contained in:
parent
1baad763f8
commit
c84226b0b5
@ -389,7 +389,7 @@
|
|||||||
<span class="glyphicon glyphicon-check" aria-hidden="true"></span> Show IPs
|
<span class="glyphicon glyphicon-check" aria-hidden="true"></span> Show IPs
|
||||||
</button>
|
</button>
|
||||||
<button class="btn btn-default btn-xs toggle-description">
|
<button class="btn btn-default btn-xs toggle-description">
|
||||||
<span class="glyphicon glyphicon-check" aria-hidden="true"></span> Show Descriptions
|
<span class="glyphicon glyphicon-uncheck" aria-hidden="true"></span> Show Descriptions
|
||||||
</button>
|
</button>
|
||||||
{% if perms.dcim.change_interface and interfaces|length > 1 %}
|
{% if perms.dcim.change_interface and interfaces|length > 1 %}
|
||||||
<button class="btn btn-default btn-xs toggle">
|
<button class="btn btn-default btn-xs toggle">
|
||||||
@ -640,7 +640,7 @@ $('button.toggle-description').click(function() {
|
|||||||
$('span.iface-description').show();
|
$('span.iface-description').show();
|
||||||
$('i.fa-comment-o').hide();
|
$('i.fa-comment-o').hide();
|
||||||
}
|
}
|
||||||
//$(this).attr('selected', !selected);
|
$(this).attr('selected', !selected);
|
||||||
$(this).children('span').toggleClass('glyphicon-check glyphicon-unchecked');
|
$(this).children('span').toggleClass('glyphicon-check glyphicon-unchecked');
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user