1
0
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:
Jeremy Stretch
2020-10-29 14:42:40 -04:00
parent a43361170c
commit 00e102fb0c
4 changed files with 9 additions and 3 deletions

View File

@@ -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();