diff options
-rw-r--r-- | usr/local/www/interfaces_ppps_edit.php | 2 | ||||
-rw-r--r-- | usr/local/www/javascript/interfaces_ppps_edit/ppps_edit.js | 4 |
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:"); ?> <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: |