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 %>
|
||||
<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%>
|
||||
|
|
Loading…
Reference in a new issue