projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14da6e8
)
luci-base: properly initialize cbi.js on SimpleForms
author
Jo-Philipp Wich
<jo@mein.io>
Fri, 6 Apr 2018 14:39:39 +0000
(16:39 +0200)
committer
Jo-Philipp Wich
<jo@mein.io>
Fri, 6 Apr 2018 14:39:39 +0000
(16:39 +0200)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/luasrc/view/cbi/simpleform.htm
patch
|
blob
|
history
diff --git
a/modules/luci-base/luasrc/view/cbi/simpleform.htm
b/modules/luci-base/luasrc/view/cbi/simpleform.htm
index 78f5c5a544b440c39b05eae7a452d77bd797aaea..3b758d70ee487997814d9e6d4f1288a50fe32d4c 100644
(file)
--- 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>