From f70adc82457c038159b4f8edd775bcf1cc498d03 Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Mon, 27 Jan 2014 19:04:45 -0800 Subject: 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(-) (limited to 'usr/local/www/firewall_aliases_edit.php') diff --git a/usr/local/www/firewall_aliases_edit.php b/usr/local/www/firewall_aliases_edit.php index c5529a8..304cfd6 100755 --- a/usr/local/www/firewall_aliases_edit.php +++ b/usr/local/www/firewall_aliases_edit.php @@ -443,9 +443,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() { -- cgit v1.1