Fixed last commit
authorSteven Barth <steven@midlink.org>
Tue, 29 Jul 2008 15:36:17 +0000 (15:36 +0000)
committerSteven Barth <steven@midlink.org>
Tue, 29 Jul 2008 15:36:17 +0000 (15:36 +0000)
themes/fledermaus/luasrc/view/themes/fledermaus/header.htm
themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm

index 30aa57d..db94370 100644 (file)
@@ -147,7 +147,7 @@ end
                %>
                <div><%:config%>
                        <% if ucic > 0 then %>
                %>
                <div><%:config%>
                        <% if ucic > 0 then %>
-                               <% submenu(category .. "/uci/", tree.nodes[category].nodes["uci"]) -%>
+                               <% submenu("/" .. category .. "/uci/", tree.nodes[category].nodes["uci"]) -%>
                        <% else %>
                                <ul>
                                        <li><%:changes%>: 0</li>
                        <% else %>
                                <ul>
                                        <li><%:changes%>: 0</li>
index 23b28a1..09ef09e 100644 (file)
@@ -174,7 +174,7 @@ end
                <div>
                        <% if ucic > 0 then %>
                        <a class="warning" href="<%=controller%>/<%=category%>/uci/changes"><%:unsavedchanges%>: <%=ucic%></a>
                <div>
                        <% if ucic > 0 then %>
                        <a class="warning" href="<%=controller%>/<%=category%>/uci/changes"><%:unsavedchanges%>: <%=ucic%></a>
-                       <% submenu(category .. "/uci/", tree.nodes[category].nodes["uci"]) -%>
+                       <% submenu("/" .. category .. "/uci/", tree.nodes[category].nodes["uci"]) -%>
                        <% else %>
                        <a href="#"><%:changes%>: 0</a>
                        <% end %>
                        <% else %>
                        <a href="#"><%:changes%>: 0</a>
                        <% end %>