summaryrefslogtreecommitdiffstats
path: root/usr/local/www/javascript/firewall_nat_edit
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-11-30 06:43:44 +0000
committerErmal Luçi <eri@pfsense.org>2009-11-30 06:43:44 +0000
commitb6867d814bf8f47a4f1f6155e9f6caa1c9aaca0b (patch)
treeaf1ffc80032124862992491c235bddf485b93e56 /usr/local/www/javascript/firewall_nat_edit
parent72cb5bafa3e000bdf19118ef28fa721c841294fd (diff)
downloadpfsense-b6867d814bf8f47a4f1f6155e9f6caa1c9aaca0b.zip
pfsense-b6867d814bf8f47a4f1f6155e9f6caa1c9aaca0b.tar.gz
Ticket #146. Fix the autocompletion of ports aliases only for the ports and host/network aliases for the src/dst. Checking if a valid alias is entered end if it is a correct one for this box seems like to much overhead and work for this. (For firewall_nat_edit.php)
Diffstat (limited to 'usr/local/www/javascript/firewall_nat_edit')
-rw-r--r--usr/local/www/javascript/firewall_nat_edit/firewall_nat_edit.js10
1 files changed, 1 insertions, 9 deletions
diff --git a/usr/local/www/javascript/firewall_nat_edit/firewall_nat_edit.js b/usr/local/www/javascript/firewall_nat_edit/firewall_nat_edit.js
index bce5e43..a2dff4c 100644
--- a/usr/local/www/javascript/firewall_nat_edit/firewall_nat_edit.js
+++ b/usr/local/www/javascript/firewall_nat_edit/firewall_nat_edit.js
@@ -90,12 +90,4 @@ function proto_change() {
document.iform.localbeginport.disabled = 0;
}
}
-
-window.onload = function () {
- 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));
-}
-
-//--> \ No newline at end of file
+//-->
OpenPOWER on IntegriCloud