summaryrefslogtreecommitdiffstats
path: root/usr/local/www/javascript
diff options
context:
space:
mode:
authorgnhb <gnoahb@gmail.com>2010-05-28 08:00:06 +0700
committergnhb <gnoahb@gmail.com>2010-05-28 08:00:06 +0700
commit8d657558c2e7de0e817307ccfed0670a4b4bd2a2 (patch)
treee1237720700f414b51dde796f872163375ef6541 /usr/local/www/javascript
parent6fdfa8fbf98d46053a95ea9b316b724cf70b2b53 (diff)
downloadpfsense-8d657558c2e7de0e817307ccfed0670a4b4bd2a2.zip
pfsense-8d657558c2e7de0e817307ccfed0670a4b4bd2a2.tar.gz
Clean up code in interfaces_ppps_edit.php and in javascript.
Diffstat (limited to 'usr/local/www/javascript')
-rw-r--r--usr/local/www/javascript/interfaces_ppps_edit/ppps_edit.js4
1 files changed, 1 insertions, 3 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 5f7c4dc..5cd3775 100644
--- a/usr/local/www/javascript/interfaces_ppps_edit/ppps_edit.js
+++ b/usr/local/www/javascript/interfaces_ppps_edit/ppps_edit.js
@@ -36,9 +36,8 @@ function show_hide_linkfields(options){
var subnet = "subnet" + count;
var gateway = "gateway" + count;
var gatewaylabel = "gatewaylabel" + count;
+
$(ipfields,label,subnet).invoke('hide');
- //$(label).hide();
- //$(subnet).hide();
$(bw).name = "bandwidth[]";
$(mtu).name = "mtu[]";
$(mru).name = "mru[]";
@@ -96,7 +95,6 @@ function updateType(t){
case "pptp": {
update_select_list(ports, select_list);
$('select','ppp','pppoe','prefil_ppp').invoke('hide');
- //$('ipfields','subnet').invoke('show');
break;
}
default:
OpenPOWER on IntegriCloud