diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2016-02-24 17:39:54 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2016-02-24 17:40:01 +0100 |
commit | e78759ad5aa2418e7a39e1061d430c2e5e8fe0b8 (patch) | |
tree | 48ad368cea7c15de1ae509a348e8bc5d97c158db | |
parent | 385a49277ac3339e3ea9a41abde2db0eba5427f9 (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.htm | 5 |
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 42bf98bf27..4d332fd07a 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%> |