summaryrefslogtreecommitdiffhomepage
path: root/libs/web
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-06-29 14:42:53 +0000
committerSteven Barth <steven@midlink.org>2008-06-29 14:42:53 +0000
commitee324cb3a70d39dc9522a1ee63af12137d433533 (patch)
tree564544d3e6bff5e916d77a427bba6b1536ba7c94 /libs/web
parent4c7df626b2a27e9bea4793c96929de17f38e7bd2 (diff)
* applications/luci-splash: Rewrote luci-splash using an own daemon implementation
* Minor tweaks in luci.dispatcher
Diffstat (limited to 'libs/web')
-rw-r--r--libs/web/luasrc/dispatcher.lua7
1 files changed, 1 insertions, 6 deletions
diff --git a/libs/web/luasrc/dispatcher.lua b/libs/web/luasrc/dispatcher.lua
index 426dd66bd..7c28f6a78 100644
--- a/libs/web/luasrc/dispatcher.lua
+++ b/libs/web/luasrc/dispatcher.lua
@@ -314,7 +314,7 @@ end
-- Shortcut for creating a dispatching node
function entry(path, target, title, order)
- local c = node(path)
+ local c = node(unpack(path))
c.target = target
c.title = title
@@ -328,11 +328,6 @@ end
function node(...)
local c = context.tree
arg.n = nil
- if arg[1] then
- if type(arg[1]) == "table" then
- arg = arg[1]
- end
- end
for k,v in ipairs(arg) do
if not c.nodes[v] then