diff options
Diffstat (limited to 'applications/luci-app-ocserv/luasrc/view/ocserv_status.htm')
-rw-r--r-- | applications/luci-app-ocserv/luasrc/view/ocserv_status.htm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/applications/luci-app-ocserv/luasrc/view/ocserv_status.htm b/applications/luci-app-ocserv/luasrc/view/ocserv_status.htm index d00084a0bc..b6212ec2c1 100644 --- a/applications/luci-app-ocserv/luasrc/view/ocserv_status.htm +++ b/applications/luci-app-ocserv/luasrc/view/ocserv_status.htm @@ -1,4 +1,4 @@ -<script type="text/javascript">//<![CDATA[ +<script> function ocserv_disconnect(idx) { (new XHR()).post('<%=url('admin/vpn/ocserv/disconnect')%>/' + idx, { token: '<%=token%>' }, @@ -42,7 +42,7 @@ } } ); -//]]></script> +</script> <fieldset class="cbi-section"> <legend><%:Active OpenConnect Users%></legend> |