luci-base: cbi: also initialize JS if pageactions are disabled
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
This commit is contained in:
parent
385a49277a
commit
e78759ad5a
1 changed files with 3 additions and 2 deletions
|
@ -18,9 +18,10 @@
|
||||||
<% if not flow.hideresetbtn then %>
|
<% if not flow.hideresetbtn then %>
|
||||||
<input class="cbi-button cbi-button-reset" type="button" value="<%:Reset%>" onclick="location.href='<%=REQUEST_URI%>'" />
|
<input class="cbi-button cbi-button-reset" type="button" value="<%:Reset%>" onclick="location.href='<%=REQUEST_URI%>'" />
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<script type="text/javascript">cbi_init();</script>
|
|
||||||
</div>
|
</div>
|
||||||
<%- end -%>
|
<%- end -%>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
<script type="text/javascript">cbi_init();</script>
|
||||||
|
|
||||||
<%+footer%>
|
<%+footer%>
|
||||||
|
|
Loading…
Reference in a new issue