themes/freifunk-generic: fix problem with save&apply

This commit is contained in:
Manuel Munz 2010-11-18 03:07:36 +00:00
parent 8dde0803af
commit 9888d28aa6

View file

@ -179,13 +179,12 @@ if tree.nodes[category] and tree.nodes[category].ucidata then
end end
end end
-%> -%>
<ul id="savemenu" class="dropdowns">
<li><% if ucic > 0 then %><a class="warning" href="<%=controller%>/<%=category%>/uci/changes/"><%:unsavedchanges%>: <%=ucic%></a><% <div id="savemenu">
submenu("/" .. category .. "/uci/", tree.nodes[category].nodes["uci"]) <% if ucic > 0 then %>
else -%> <a class="warning" href="<%=controller%>/<%=category%>/uci/changes/?redir=<%=luci.http.urlencode(tree.nodes[category].nodes["uci"].query)%>"><%:Unsaved Changes%>: <%=ucic%></a>
<a href="#"><%:changes%>: 0</a><% end -%> <% end -%>
</li> </div><% end %>
</ul><% end %>
<div class="clear"></div> <div class="clear"></div>
</div> </div>