Merge pull request #1778 from ldir-EDB0/igdv2
authorJo-Philipp Wich <jo@mein.io>
Sat, 5 May 2018 17:41:22 +0000 (19:41 +0200)
committerGitHub <noreply@github.com>
Sat, 5 May 2018 17:41:22 +0000 (19:41 +0200)
luci-app-upnp: support igdv1 run time flag

modules/luci-base/luasrc/view/cbi/footer.htm

index 4d332fd..e6acfb0 100644 (file)
@@ -1,6 +1,6 @@
        <%- if pageaction then -%>
        <div class="cbi-page-actions">
-               <% if redirect then %>
+               <% if redirect and not flow.hidebackbtn then %>
                <div style="float:left">
                        <input class="cbi-button cbi-button-link" type="button" value="<%:Back to Overview%>" onclick="location.href='<%=pcdata(redirect)%>'" />
                </div>