modules/admin-full: do not hide toplevel network menu items, yet
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 7 Nov 2011 10:44:20 +0000 (10:44 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 7 Nov 2011 10:44:20 +0000 (10:44 +0000)
modules/admin-full/luasrc/controller/admin/network.lua

index 68407515b0d4f4e7e79fd43e086c882a9d980761..24f17e9397bd3abeeeedcfb5a7fd55ab00b3de71 100644 (file)
@@ -17,7 +17,6 @@ module("luci.controller.admin.network", package.seeall)
 
 function index()
        local uci = require("luci.model.uci").cursor()
-
        local page
 
        page = node("admin", "network")
@@ -26,7 +25,7 @@ function index()
        page.order  = 50
        page.index  = true
 
-       if page.inreq then
+--     if page.inreq then
                local has_switch = false
 
                uci:foreach("network", "switch",
@@ -155,7 +154,7 @@ function index()
 
                page = entry({"admin", "network", "diag_traceroute"}, call("diag_traceroute"), nil)
                page.leaf = true
-       end
+--     end
 end
 
 function wifi_join()