summaryrefslogtreecommitdiffstats
path: root/usr/local/www/javascript
diff options
context:
space:
mode:
authorgnhb <gnoahb@gmail.com>2010-06-05 20:57:11 +0700
committergnhb <gnoahb@gmail.com>2010-06-05 20:57:11 +0700
commitcac14686eb66f19a9a44608aea1f087a75b0713a (patch)
treee23b9d513906e205f233c916b9c0b018fddde9d0 /usr/local/www/javascript
parent7db2ef5fd8c0842d8c87b0489f48465a323e8d7e (diff)
downloadpfsense-cac14686eb66f19a9a44608aea1f087a75b0713a.zip
pfsense-cac14686eb66f19a9a44608aea1f087a75b0713a.tar.gz
Fix javascript error and apn id so not duplicate id in html.
Diffstat (limited to 'usr/local/www/javascript')
-rw-r--r--usr/local/www/javascript/interfaces_ppps_edit/ppps_edit.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/local/www/javascript/interfaces_ppps_edit/ppps_edit.js b/usr/local/www/javascript/interfaces_ppps_edit/ppps_edit.js
index 1156e0f..fe435fb 100644
--- a/usr/local/www/javascript/interfaces_ppps_edit/ppps_edit.js
+++ b/usr/local/www/javascript/interfaces_ppps_edit/ppps_edit.js
@@ -108,7 +108,7 @@ function updateType(t){
show_advanced('0');
switch(t) {
case "select": {
- $('ppp','pppoe','ppp_provider','phone_num','apn').invoke('hide');
+ $('ppp','pppoe','ppp_provider','phone_num','apn_').invoke('hide');
select_list.length = 0;
select_list[0] = new Option("Select Link Type First","");
break;
@@ -116,19 +116,19 @@ function updateType(t){
case "ppp": {
update_select_list(serialports, select_list);
$('select','pppoe').invoke('hide');
- $('ppp_provider','phone_num','apn').invoke('show');
+ $('ppp_provider','phone_num','apn_').invoke('show');
country_list();
break;
}
case "pppoe": {
update_select_list(ports, select_list);
- $('select','ppp','ppp_provider','phone_num','apn').invoke('hide');
+ $('select','ppp','ppp_provider','phone_num','apn_').invoke('hide');
break;
}
case "l2tp":
case "pptp": {
update_select_list(ports, select_list);
- $('select','ppp','pppoe','ppp_provider','phone_num','apn').invoke('hide');
+ $('select','ppp','pppoe','ppp_provider','phone_num','apn_').invoke('hide');
break;
}
default:
OpenPOWER on IntegriCloud