fix bakc return url error

This commit is contained in:
coolsnowwolf 2020-07-03 16:28:01 +08:00
parent 2957d29592
commit 1baf0150b0

View File

@ -18,7 +18,7 @@
<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(r)%>">
<form class="inline" method="get" action="/cgi-bin/luci/<%=luci.util.pcdata(r)%>">
<input class="cbi-button cbi-button-link" style="float:left; margin:0" type="submit" value="<%:Back%>" />
</form>
</div>