Просмотр исходного кода

Fixes #6248: Fix table column reconfiguration under Chrome

jeremystretch 4 лет назад
Родитель
Сommit
1dd9f8c1d4
2 измененных файлов с 2 добавлено и 1 удалено
  1. 1 0
      docs/release-notes/version-2.11.md
  2. 1 1
      netbox/project-static/js/tableconfig.js

+ 1 - 0
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

+ 1 - 1
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([]);