summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/luasrc
diff options
context:
space:
mode:
Diffstat (limited to 'modules/admin-full/luasrc')
-rw-r--r--modules/admin-full/luasrc/view/admin_uci/changes.htm4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/admin-full/luasrc/view/admin_uci/changes.htm b/modules/admin-full/luasrc/view/admin_uci/changes.htm
index c26d8cc5b8..159a7b5f0a 100644
--- a/modules/admin-full/luasrc/view/admin_uci/changes.htm
+++ b/modules/admin-full/luasrc/view/admin_uci/changes.htm
@@ -25,11 +25,13 @@ $Id$
<% end %>
<div class="cbi-page-actions">
+ <% local r = luci.http.formvalue("redir"); if r and #r > 0 then %>
<div style="float:left">
- <form class="inline" method="get" action="<%=luci.util.pcdata(luci.http.formvalue("redir"))%>">
+ <form class="inline" method="get" action="<%=luci.util.pcdata(r)%>">
<input class="cbi-button cbi-button-link" style="float:left; margin:0" type="submit" value="<%:Back%>" />
</form>
</div>
+ <% end %>
<div style="text-align:right">
<form class="inline" method="get" action="<%=controller%>/admin/uci/apply">