Project

General

Profile

« Previous | Next » 

Revision 4dd00d25

Added by Phil Davis over 11 years ago

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.

View differences:

usr/local/www/firewall_aliases_edit.php
461 461
			break;
462 462
	}
463 463

  
464
	jQuery("select[id='address_subnet']").prop("disabled", field_disabled);
465
	if (set_value == true);
466
		jQuery("select[id='address_subnet']").prop("value", field_value);
464
	jQuery("select[id^='address_subnet']").prop("disabled", field_disabled);
465
	if (set_value == true)
466
		jQuery("select[id^='address_subnet']").prop("value", field_value);
467 467
}
468 468

  
469 469
function add_alias_control() {

Also available in: Unified diff