From b11c6ecbeea88f782cef9c0441b3927d0c736a56 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 16 Sep 2008 01:14:30 +0000 Subject: * luci/themes: fix xml errors triggered by query strings in menu entries * luci/app-olsr: fix html error in mid table --- themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'themes/openwrt.org') 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 e8b3d5533..6e460d5b0 100644 --- a/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm +++ b/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm @@ -55,7 +55,7 @@ require("luci.http").prepare_content("application/xhtml+xml") var lis = document.getElementById("mainmenu").getElementsByTagName("LI"); var divs = document.getElementById("mainmenu").getElementsByTagName("DIV"); - + for( var i = 0; i < lis.length; i++ ) ie_hover( lis[i] ); for( var i = 0; i < divs.length; i++ ) ie_hover( divs[i] ); } @@ -118,7 +118,7 @@ local function submenu(prefix, node) href = (nnode.query) and href .. luci.http.build_querystring(nnode.query) or href %>
  • - class="active"<%end%>><%=nnode.title%> + class="active"<%end%>><%=nnode.title%> <%- submenu(prefix .. v.name .. "/", nnode) %>
  • <%- end %> -- cgit v1.2.3