summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2016-02-24 17:39:54 +0100
committerJo-Philipp Wich <jow@openwrt.org>2016-02-24 17:40:01 +0100
commite78759ad5aa2418e7a39e1061d430c2e5e8fe0b8 (patch)
tree48ad368cea7c15de1ae509a348e8bc5d97c158db
parent385a49277ac3339e3ea9a41abde2db0eba5427f9 (diff)
luci-base: cbi: also initialize JS if pageactions are disabled
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
-rw-r--r--modules/luci-base/luasrc/view/cbi/footer.htm5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/luci-base/luasrc/view/cbi/footer.htm b/modules/luci-base/luasrc/view/cbi/footer.htm
index 42bf98bf2..4d332fd07 100644
--- a/modules/luci-base/luasrc/view/cbi/footer.htm
+++ b/modules/luci-base/luasrc/view/cbi/footer.htm
@@ -18,9 +18,10 @@
<% if not flow.hideresetbtn then %>
<input class="cbi-button cbi-button-reset" type="button" value="<%:Reset%>" onclick="location.href='<%=REQUEST_URI%>'" />
<% end %>
-
- <script type="text/javascript">cbi_init();</script>
</div>
<%- end -%>
</form>
+
+<script type="text/javascript">cbi_init();</script>
+
<%+footer%>