Skip to content

Commit 79214c2

Browse files
committed
Fix disabling of removable ports
1 parent 4953608 commit 79214c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/views/admin/servers/view.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,8 +265,8 @@
265265
$(document).ready(function () {
266266
$('#sidebar_links').find("a[href='/admin/servers']").addClass('active');
267267
$('input[name="default"]').on('change', function (event) {
268-
$('select[name="remove_additional"]').find('option:disabled').prop('disabled', false);
269-
$('select[name="remove_additional"]').find('option[value="' + $(this).val() + '"]').prop('disabled', true).prop('selected', false);
268+
$('select[name="remove_additional[]"]').find('option:disabled').prop('disabled', false);
269+
$('select[name="remove_additional[]"]').find('option[value="' + $(this).val() + '"]').prop('disabled', true).prop('selected', false);
270270
});
271271
});
272272
</script>

0 commit comments

Comments
 (0)