diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-11-25 08:05:21 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-11-25 08:05:21 +0000 |
commit | e17e66be6ee85e545cc9b3d4dabaa3e03354eb63 (patch) | |
tree | ac2b979302f3ff7db36978cf6697542445f55775 /themes | |
parent | 5b05e6d020f1d56cc5cf9da7ed218ebefb17f9b1 (diff) |
themes/openwrt: pass backlink to uci changes menu
Diffstat (limited to 'themes')
-rw-r--r-- | themes/openwrt/luasrc/view/themes/openwrt.org/header.htm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/openwrt/luasrc/view/themes/openwrt.org/header.htm b/themes/openwrt/luasrc/view/themes/openwrt.org/header.htm index 1177fa078c..7cc43f81ef 100644 --- a/themes/openwrt/luasrc/view/themes/openwrt.org/header.htm +++ b/themes/openwrt/luasrc/view/themes/openwrt.org/header.htm @@ -154,7 +154,7 @@ if tree.nodes[category] and tree.nodes[category].ucidata then -%> <div id="savemenu"> <% if ucic > 0 then %> - <a class="warning" href="<%=controller%>/<%=category%>/uci/changes/?redir=<%=luci.http.urlencode(tree.nodes[category].nodes["uci"].query)%>"><%:Unsaved Changes%>: <%=ucic%></a> + <a class="warning" href="<%=controller%>/<%=category%>/uci/changes/?redir=<%=luci.http.urlencode(luci.http.formvalue("redir") or REQUEST_URI)%>"><%:Unsaved Changes%>: <%=ucic%></a> <%- else -%> <a href="#"><%:Changes%>: 0</a> <% end -%> |