mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Fixes #2374: Fix toggling display of IP addresses in virtual machine interfaces list
This commit is contained in:
@ -10,6 +10,7 @@ v2.4.4 (FUTURE)
|
|||||||
|
|
||||||
* [#2355](https://github.com/digitalocean/netbox/issues/2355) - Added item count to inventory tab on device view
|
* [#2355](https://github.com/digitalocean/netbox/issues/2355) - Added item count to inventory tab on device view
|
||||||
* [#2368](https://github.com/digitalocean/netbox/issues/2368) - Record change in device changelog when altering cluster assignment
|
* [#2368](https://github.com/digitalocean/netbox/issues/2368) - Record change in device changelog when altering cluster assignment
|
||||||
|
* [#2374](https://github.com/digitalocean/netbox/issues/2374) - Fix toggling display of IP addresses in virtual machine interfaces list
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -315,9 +315,9 @@
|
|||||||
$('button.toggle-ips').click(function() {
|
$('button.toggle-ips').click(function() {
|
||||||
var selected = $(this).attr('selected');
|
var selected = $(this).attr('selected');
|
||||||
if (selected) {
|
if (selected) {
|
||||||
$('#interfaces_table tr.ipaddress').hide();
|
$('#interfaces_table tr.ipaddresses').hide();
|
||||||
} else {
|
} else {
|
||||||
$('#interfaces_table tr.ipaddress').show();
|
$('#interfaces_table tr.ipaddresses').show();
|
||||||
}
|
}
|
||||||
$(this).attr('selected', !selected);
|
$(this).attr('selected', !selected);
|
||||||
$(this).children('span').toggleClass('glyphicon-check glyphicon-unchecked');
|
$(this).children('span').toggleClass('glyphicon-check glyphicon-unchecked');
|
||||||
|
Reference in New Issue
Block a user