Skip to content
This repository has been archived by the owner on Dec 14, 2020. It is now read-only.

Commit

Permalink
webui: Immediately refresh connection state of clients when toggling …
Browse files Browse the repository at this point in the history
…display of OpenVPN/PPTPD passwords
  • Loading branch information
RMerl committed Aug 26, 2016
1 parent 10c1c4f commit b7e108b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion release/src/router/www/Advanced_VPN_OpenVPN.asp
Expand Up @@ -1272,7 +1272,7 @@ function defaultSettings() {
<ol>
</div>

<div style="color:#FFCC00;"><input type="checkbox" name="show_pass" id="show_pass" onclick="showopenvpnd_clientlist();">Show passwords</div>
<div style="color:#FFCC00;"><input type="checkbox" name="show_pass" id="show_pass" onclick="showopenvpnd_clientlist();update_vpn_client_state();openvpnd_connected_status();">Show passwords</div>

<table width="100%" border="1" align="center" cellpadding="4" cellspacing="0" class="FormTable_table" style="margin-top:8px;">
<thead>
Expand Down
2 changes: 1 addition & 1 deletion release/src/router/www/Advanced_VPN_PPTP.asp
Expand Up @@ -877,7 +877,7 @@ function check_vpn_conflict() { //if conflict with LAN ip & DHCP ip pool & stat
</li>
</ul>
</div>
<div style="color:#FFCC00;"><input type="checkbox" name="show_pass" id="show_pass" onclick="showpptpd_clientlist();">Show passwords</div>
<div style="color:#FFCC00;"><input type="checkbox" name="show_pass" id="show_pass" onclick="showpptpd_clientlist(); parsePPTPClients();pptpd_connected_status();">Show passwords</div>
<table width="100%" border="1" align="center" cellpadding="4" cellspacing="0" class="FormTable_table" style="margin-top:8px;">
<thead>
<tr>
Expand Down

0 comments on commit b7e108b

Please sign in to comment.