diff options
author | Phil Davis <phil.davis@world.inf.org> | 2014-01-27 19:04:45 -0800 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2014-01-28 07:37:05 -0200 |
commit | f70adc82457c038159b4f8edd775bcf1cc498d03 (patch) | |
tree | 1d58998fc45cb4a288fd43734c264575180afa22 /usr/local | |
parent | 886926e0d73d35e4f182ad676bc8a4ff7e97c365 (diff) | |
download | pfsense-f70adc82457c038159b4f8edd775bcf1cc498d03.zip pfsense-f70adc82457c038159b4f8edd775bcf1cc498d03.tar.gz |
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.
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/firewall_aliases_edit.php | 6 |
1 files changed, 3 insertions, 3 deletions
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() { |