X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=modules%2Fluci-mod-admin-full%2Fluasrc%2Fview%2Fadmin_network%2Fdiagnostics.htm;h=90d7117175548cb156aeb2a7d8f1084448845573;hb=refs%2Fpull%2F766%2Fhead;hp=e0a04a7f8f635617f53fac0b12137bd49e23bd78;hpb=41d2b33087da393453c45f5d923d690c88ee5474;p=project%2Fluci.git diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_network/diagnostics.htm b/modules/luci-mod-admin-full/luasrc/view/admin_network/diagnostics.htm index e0a04a7f8..90d711717 100644 --- a/modules/luci-mod-admin-full/luasrc/view/admin_network/diagnostics.htm +++ b/modules/luci-mod-admin-full/luasrc/view/admin_network/diagnostics.htm @@ -34,7 +34,7 @@ local has_traceroute6 = fs.access("/usr/bin/traceroute6") legend.parentNode.style.display = 'block'; legend.style.display = 'inline'; - stxhr.get('<%=luci.dispatcher.build_url("admin", "network")%>/diag_' + tool + protocol + '/' + addr, null, + stxhr.post('<%=url('admin/network')%>/diag_' + tool + protocol + '/' + addr, { token: '<%=token%>' }, function(x) { if (x.responseText) @@ -53,9 +53,9 @@ local has_traceroute6 = fs.access("/usr/bin/traceroute6") } //]]> -
"> +
-

<%:Diagnostics%>

+

<%:Diagnostics%>

<%:Network Utilities%> @@ -63,7 +63,7 @@ local has_traceroute6 = fs.access("/usr/bin/traceroute6")
-
+
<% if has_ping6 then %>
+
<% if has_traceroute6 then %>
+