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 30aa57d86f31e0f57de85fd6b0b7a19cc3308987..db943709d5087467358eb141a27fb62c14552c9c 100644 (file)
@@ -147,7 +147,7 @@ end
                %>
                <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>
index 23b28a14c475374d9e5b664fee5babeb92c77820..09ef09ec7c576b74b99b2531ec7378d77c6b8e54 100644 (file)
@@ -174,7 +174,7 @@ end
                <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 %>