From 4dd00d25d5fc3d5a0b73930cf86685d4c1430a2e Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Mon, 27 Jan 2014 19:04:45 -0800 Subject: [PATCH] Really fix #3376 Thanks to Grischa Zengel for spotting the semi-colon at the end of the "if" line that was the real cause. Please also back merge this to 2.1 branch. --- usr/local/www/firewall_aliases_edit.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr/local/www/firewall_aliases_edit.php b/usr/local/www/firewall_aliases_edit.php index 7bef3d6fe4..b2f3eb9f5b 100755 --- a/usr/local/www/firewall_aliases_edit.php +++ b/usr/local/www/firewall_aliases_edit.php @@ -461,9 +461,9 @@ function typesel_change() { break; } - jQuery("select[id='address_subnet']").prop("disabled", field_disabled); - if (set_value == true); - jQuery("select[id='address_subnet']").prop("value", field_value); + jQuery("select[id^='address_subnet']").prop("disabled", field_disabled); + if (set_value == true) + jQuery("select[id^='address_subnet']").prop("value", field_value); } function add_alias_control() {