summaryrefslogtreecommitdiffhomepage
path: root/themes/openwrt.org/luasrc
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-06-14 14:31:37 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-06-14 14:31:37 +0000
commit3eabbcc19185205dc9c91d90ee884c08156652af (patch)
treead705f53c1d188c07a379bf45994c3facf413cf7 /themes/openwrt.org/luasrc
parent855b7582d3576f45693e3a48fdb253c813cf4dce (diff)
* luci/themes: fix query string functionality
Diffstat (limited to 'themes/openwrt.org/luasrc')
-rw-r--r--themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm b/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm
index d1b751871..6852b386e 100644
--- a/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm
+++ b/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm
@@ -75,7 +75,7 @@ local function submenu(prefix, node)
<% for j, v in pairs(index) do
local nnode = node.nodes[v.name]
local href = controller .. prefix .. v.name
- href = (v.query) and href .. luci.http.build_querystring(v.query) or href
+ href = (nnode.query) and href .. luci.http.build_querystring(nnode.query) or href
%>
<li>
<span<% if nnode._menu_selected then %> class="blacktext"<%end%>><a href="<%=href%>"><%=nnode.title%></a></span>