summaryrefslogtreecommitdiffstats
path: root/usr/local
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
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')
-rw-r--r--usr/local/www/interfaces_ppps_edit.php2
-rw-r--r--usr/local/www/javascript/interfaces_ppps_edit/ppps_edit.js4
2 files changed, 2 insertions, 4 deletions
diff --git a/usr/local/www/interfaces_ppps_edit.php b/usr/local/www/interfaces_ppps_edit.php
index 56a11f9..b004bd4 100644
--- a/usr/local/www/interfaces_ppps_edit.php
+++ b/usr/local/www/interfaces_ppps_edit.php
@@ -550,7 +550,7 @@ $types = array("select" => "Select", "ppp" => "PPP", "pppoe" => "PPPoE", "pptp"
<option></option>
</select>
- <br/><span class="vexpl"><?= gettext("Interfaces or ports participating in the multilink connection."); ?></span>
+ <br/><span class="vexpl"><?= gettext("Interface(s) or port(s) participating in the connection."); ?></span>
<span style="display:none" id="prefil_ppp">
<p/><?= gettext("Click a link to fill in defaults for these carriers:"); ?>&nbsp;
<a href='#' onClick='javascript:prefill_att();'>ATT</A>
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