1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Add button to select all columns

This commit is contained in:
Jeremy Stretch
2020-04-29 14:56:22 -04:00
parent c096232cb1
commit 3b6d9dc552
2 changed files with 5 additions and 0 deletions

View File

@ -472,5 +472,9 @@ $(document).ready(function() {
}
});
});
$('#select-all-options').bind('click', function() {
var select_id = '#' + $(this).attr('data-target');
$(select_id + ' option').prop('selected',true);
});
});