X-Git-Url: http://git.archive.openwrt.org/?a=blobdiff_plain;f=modules%2Fluci-mod-admin-full%2Fluasrc%2Fview%2Fadmin_status%2Fbandwidth.htm;h=33bbee78432ffd8ef5b38e457a0da835ad564691;hb=7cca3139591a08e62b7900115fe0bfd4a3df8f8a;hp=04da3c12397013611cb2a2edb8980ff4dd21bbb0;hpb=a19f97f7cacf65fa3f51b668449bcca56db1f53f;p=project%2Fluci.git diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_status/bandwidth.htm b/modules/luci-mod-admin-full/luasrc/view/admin_status/bandwidth.htm index 04da3c123..33bbee784 100644 --- a/modules/luci-mod-admin-full/luasrc/view/admin_status/bandwidth.htm +++ b/modules/luci-mod-admin-full/luasrc/view/admin_status/bandwidth.htm @@ -14,8 +14,7 @@ end end - local curdev = luci.dispatcher.context.requestpath - curdev = curdev[#curdev] ~= "bandwidth" and curdev[#curdev] or devices[1] + local curdev = luci.http.formvalue("dev") or devices[1] -%> <%+header%> @@ -268,7 +267,7 @@