From 79214c2cb23951c4a1234c3151308867a804e26f Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Sat, 2 Jan 2016 23:23:53 -0500 Subject: [PATCH] Fix disabling of removable ports --- resources/views/admin/servers/view.blade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/views/admin/servers/view.blade.php b/resources/views/admin/servers/view.blade.php index 5d66de5d1..91614c611 100644 --- a/resources/views/admin/servers/view.blade.php +++ b/resources/views/admin/servers/view.blade.php @@ -265,8 +265,8 @@ $(document).ready(function () { $('#sidebar_links').find("a[href='/admin/servers']").addClass('active'); $('input[name="default"]').on('change', function (event) { - $('select[name="remove_additional"]').find('option:disabled').prop('disabled', false); - $('select[name="remove_additional"]').find('option[value="' + $(this).val() + '"]').prop('disabled', true).prop('selected', false); + $('select[name="remove_additional[]"]').find('option:disabled').prop('disabled', false); + $('select[name="remove_additional[]"]').find('option[value="' + $(this).val() + '"]').prop('disabled', true).prop('selected', false); }); });