From 1dd9f8c1d45e600acd007a67bd127de6a99dfc71 Mon Sep 17 00:00:00 2001 From: jeremystretch Date: Fri, 23 Apr 2021 10:27:58 -0400 Subject: [PATCH] Fixes #6248: Fix table column reconfiguration under Chrome --- docs/release-notes/version-2.11.md | 1 + netbox/project-static/js/tableconfig.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/release-notes/version-2.11.md b/docs/release-notes/version-2.11.md index 30319a483..4e415368e 100644 --- a/docs/release-notes/version-2.11.md +++ b/docs/release-notes/version-2.11.md @@ -5,6 +5,7 @@ ### Bug Fixes * [#6246](https://github.com/netbox-community/netbox/issues/6246) - Permit full-length descriptions when creating device components and VM interfaces +* [#6248](https://github.com/netbox-community/netbox/issues/6248) - Fix table column reconfiguration under Chrome * [#6252](https://github.com/netbox-community/netbox/issues/6252) - Fix assignment of console port speed values above 19.2kbps * [#6254](https://github.com/netbox-community/netbox/issues/6254) - Disable ordering of space column in racks table * [#6258](https://github.com/netbox-community/netbox/issues/6258) - Fix parent assignment for SiteGroup API serializer diff --git a/netbox/project-static/js/tableconfig.js b/netbox/project-static/js/tableconfig.js index 6851d2e8c..96474b3fe 100644 --- a/netbox/project-static/js/tableconfig.js +++ b/netbox/project-static/js/tableconfig.js @@ -2,7 +2,7 @@ $(document).ready(function() { // Select or reset table columns $('#save_tableconfig').click(function(event) { - $('select[name="columns"] option').attr("selected", "selected"); + $('select[name="columns"] option').prop("selected", "selected"); }); $('#reset_tableconfig').click(function(event) { $('select[name="columns"]').val([]);