diff options
author | Florian Eckert <fe@dev.tdt.de> | 2018-02-09 15:12:21 +0100 |
---|---|---|
committer | Florian Eckert <fe@dev.tdt.de> | 2018-03-01 12:31:50 +0100 |
commit | fa756d1fbbb1af713bb75541eebdf0df127db4f6 (patch) | |
tree | e223f2522427dd338af44d7676d1049be3a7a9b3 /modules/luci-base/luasrc/view | |
parent | 1d9cc1a9e1370be588c5ebc95e865a648fec4dc2 (diff) |
luci-base: fix browser.htm template
If cbi_init() is not called first browser gif will not be found.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'modules/luci-base/luasrc/view')
-rw-r--r-- | modules/luci-base/luasrc/view/cbi/browser.htm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/luci-base/luasrc/view/cbi/browser.htm b/modules/luci-base/luasrc/view/cbi/browser.htm index a18120141..2abc975e8 100644 --- a/modules/luci-base/luasrc/view/cbi/browser.htm +++ b/modules/luci-base/luasrc/view/cbi/browser.htm @@ -2,6 +2,7 @@ <%+cbi/valueheader%> <input class="cbi-input-text" type="text"<%= attr("value", v) .. attr("name", cbid) .. attr("id", cbid) %> /> <script type="text/javascript"> +cbi_init() cbi_browser_init('<%=cbid%>', '<%=resource%>', '<%=url('admin/filebrowser')%>'<%=self.default_path and ", '"..self.default_path.."'"%>); </script> <%+cbi/valuefooter%> |