git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
5b05e6d
)
themes/openwrt: pass backlink to uci changes menu
author
Jo-Philipp Wich
<redacted>
Thu, 25 Nov 2010 08:05:21 +0000
(08:05 +0000)
committer
Jo-Philipp Wich
<redacted>
Thu, 25 Nov 2010 08:05:21 +0000
(08:05 +0000)
themes/openwrt/luasrc/view/themes/openwrt.org/header.htm
patch
|
blob
|
history
diff --git
a/themes/openwrt/luasrc/view/themes/openwrt.org/header.htm
b/themes/openwrt/luasrc/view/themes/openwrt.org/header.htm
index 1177fa078cdc986e07c5211ac82232ea0d406a6b..7cc43f81ef064f8e4a83e5d4c8ca16ff890edcd4 100644
(file)
--- 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 -%>
git clone https://git.99rst.org/PROJECT