summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinicius Coque <vinicius.coque@bluepex.com>2010-04-09 09:35:38 -0300
committerVinicius Coque <vinicius.coque@bluepex.com>2010-04-09 09:35:38 -0300
commit726dc0a7853c3f9d374beb4750ab728e99ed5236 (patch)
treebfa7c6a33197fdbc742e892b0e59afe68470fa3f
parent47c5a08f7614c796dad0e97c302a5f2d8640c758 (diff)
downloadpfsense-726dc0a7853c3f9d374beb4750ab728e99ed5236.zip
pfsense-726dc0a7853c3f9d374beb4750ab728e99ed5236.tar.gz
Fixing AutoSuggest on Source and Destination ports
-rwxr-xr-xusr/local/www/firewall_nat_edit.php12
1 files changed, 8 insertions, 4 deletions
diff --git a/usr/local/www/firewall_nat_edit.php b/usr/local/www/firewall_nat_edit.php
index f08f8d0..a3e2c3d 100755
--- a/usr/local/www/firewall_nat_edit.php
+++ b/usr/local/www/firewall_nat_edit.php
@@ -810,10 +810,14 @@ if($config['aliases']['alias'] <> "")
var addressarray=new Array(<?php echo $aliasesaddr; ?>);
var customarray=new Array(<?php echo $portaliases; ?>);
- var oTextbox1 = new AutoSuggestControl(document.getElementById("localip"), new StateSuggestions(addressarray));
- var oTextbox2 = new AutoSuggestControl(document.getElementById("beginport_cust"), new StateSuggestions(customarray));
- var oTextbox3 = new AutoSuggestControl(document.getElementById("endport_cust"), new StateSuggestions(customarray));
- var oTextbox4 = new AutoSuggestControl(document.getElementById("localbeginport_cust"), new StateSuggestions(customarray));
+ var oTextbox1 = new AutoSuggestControl(document.getElementById("localip"), new StateSuggestions(addressarray));
+ var oTextbox2 = new AutoSuggestControl(document.getElementById("src"), new StateSuggestions(addressarray));
+ var oTextbox3 = new AutoSuggestControl(document.getElementById("dst"), new StateSuggestions(addressarray));
+ var oTextbox4 = new AutoSuggestControl(document.getElementById("dstbeginport_cust"), new StateSuggestions(customarray));
+ var oTextbox5 = new AutoSuggestControl(document.getElementById("dstendport_cust"), new StateSuggestions(customarray));
+ var oTextbox6 = new AutoSuggestControl(document.getElementById("srcbeginport_cust"), new StateSuggestions(customarray));
+ var oTextbox7 = new AutoSuggestControl(document.getElementById("srcendport_cust"), new StateSuggestions(customarray));
+ var oTextbox8 = new AutoSuggestControl(document.getElementById("localbeginport_cust"), new StateSuggestions(customarray));
//-->
</script>
<?php include("fend.inc"); ?>
OpenPOWER on IntegriCloud