summaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-11-07 10:44:20 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-11-07 10:44:20 +0000
commit6907d1f2cd2ba62fbf32542c905373790b209717 (patch)
tree05a11486c06035ac51e4d21b50747111a99167a1 /modules
parent905e682bb79ca68841e1bc0956371fe778f77958 (diff)
modules/admin-full: do not hide toplevel network menu items, yet
Diffstat (limited to 'modules')
-rw-r--r--modules/admin-full/luasrc/controller/admin/network.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/admin-full/luasrc/controller/admin/network.lua b/modules/admin-full/luasrc/controller/admin/network.lua
index 68407515b..24f17e939 100644
--- a/modules/admin-full/luasrc/controller/admin/network.lua
+++ b/modules/admin-full/luasrc/controller/admin/network.lua
@@ -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()