diff options
author | jim-p <jimp@pfsense.org> | 2010-08-11 16:40:52 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2010-08-11 16:40:52 -0400 |
commit | 54e73f5f0ec75d387b5d462b29a41c7d5371d366 (patch) | |
tree | 4111e601d35f0bb3a5a1ad41efc00a77c482953d /usr/local | |
parent | 91a38e1fffb0c097c9254b7f6069ef492cb1b4d3 (diff) | |
download | pfsense-54e73f5f0ec75d387b5d462b29a41c7d5371d366.zip pfsense-54e73f5f0ec75d387b5d462b29a41c7d5371d366.tar.gz |
Show selected properly for the LB mode.
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/load_balancer_pool_edit.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/load_balancer_pool_edit.php b/usr/local/www/load_balancer_pool_edit.php index 2764a92..818521f 100755 --- a/usr/local/www/load_balancer_pool_edit.php +++ b/usr/local/www/load_balancer_pool_edit.php @@ -176,8 +176,8 @@ function clearcombo(){ <td width="22%" valign="top" class="vncellreq"><?=gettext("Mode"); ?></td> <td width="78%" class="vtable" colspan="2"> <select id="mode" name="mode" onChange="enforceFailover(); checkPoolControls();"> - <option value="loadbalance" <?if(!isset($pconfig['mode']) || ($pconfig['mode'] == "loadbalance")) echo "value=\"{$pconfig['name']}\"";?>>Load Balance</option> - <option value="failover" <?if($pconfig['mode'] == "failover") echo "value=\"{$pconfig['name']}\"";?>>Manual Failover</option> + <option value="loadbalance" <?if(!isset($pconfig['mode']) || ($pconfig['mode'] == "loadbalance")) echo "selected";?>>Load Balance</option> + <option value="failover" <?if($pconfig['mode'] == "failover") echo "selected";?>>Manual Failover</option> </select> </td> </tr> |