mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Fix resetting column preferences
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
$(document).ready(function() {
|
||||
$('form.userconfigform input.reset').click(function(event) {
|
||||
// Deselect all columns when the reset button is clicked
|
||||
$('select[name="columns"]').val([]);
|
||||
});
|
||||
|
||||
$('form.userconfigform').submit(function(event) {
|
||||
event.preventDefault();
|
||||
|
||||
|
Reference in New Issue
Block a user