summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/luasrc
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-04-06 16:39:39 +0200
committerJo-Philipp Wich <jo@mein.io>2018-04-06 16:39:39 +0200
commitb00b676923a01fed2f3180a598f2e5c28f44f7d2 (patch)
tree86a202bb9c1ad72ce473eafe4b15fcb58dcbb79b /modules/luci-base/luasrc
parent14da6e85a6ba0053480113b98831e0d65ec7c86a (diff)
luci-base: properly initialize cbi.js on SimpleForms
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-base/luasrc')
-rw-r--r--modules/luci-base/luasrc/view/cbi/simpleform.htm3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/luci-base/luasrc/view/cbi/simpleform.htm b/modules/luci-base/luasrc/view/cbi/simpleform.htm
index 78f5c5a544..3b758d70ee 100644
--- a/modules/luci-base/luasrc/view/cbi/simpleform.htm
+++ b/modules/luci-base/luasrc/view/cbi/simpleform.htm
@@ -52,7 +52,8 @@
<%- if not self.cancel then -%><%-:Cancel-%><%-else-%><%=self.cancel%><%end-%>
" />
<% end %>
- <script type="text/javascript">cbi_d_update();</script>
</div>
</form>
<% end %>
+
+<script type="text/javascript">cbi_init();</script>