luci-base: cbi: also initialize JS if pageactions are disabled
[project/luci.git] / modules / luci-base / luasrc / view / cbi / footer.htm
index 115250a..4d332fd 100644 (file)
                <% 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_d_update();</script>
        </div>
        <%- end -%>
 </form>
+
+<script type="text/javascript">cbi_init();</script>
+
 <%+footer%>