summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/luasrc/view/cbi
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2015-11-26 23:23:15 +0100
committerJo-Philipp Wich <jow@openwrt.org>2015-11-26 23:23:15 +0100
commitc123fa86b02f7e9ecd7d474a03359628b444bd1d (patch)
treecaf4f49f1dbd55a4daef1737e34d1f45c2e1733d /modules/luci-base/luasrc/view/cbi
parentce04adb38392c07420c30e67b1bb010ee1e0145f (diff)
parentcbf45fe563ab2ded120a5d5184e8c7207aa9b995 (diff)
Merge pull request #534 from yousong/add-luci-proto-pppossh
Add luci proto pppossh
Diffstat (limited to 'modules/luci-base/luasrc/view/cbi')
-rw-r--r--modules/luci-base/luasrc/view/cbi/dynlist.htm4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/luci-base/luasrc/view/cbi/dynlist.htm b/modules/luci-base/luasrc/view/cbi/dynlist.htm
index fd626a4ecf..e936c0c39f 100644
--- a/modules/luci-base/luasrc/view/cbi/dynlist.htm
+++ b/modules/luci-base/luasrc/view/cbi/dynlist.htm
@@ -15,7 +15,9 @@
<script type="text/javascript">
cbi_dynlist_init(
'<%=cbid%>', '<%=resource%>', '<%=self.datatype%>',
- <%=tostring(self.optional or self.rmempty)%>
+ <%=tostring(self.optional or self.rmempty)%>,
+ '<%=url('admin/filebrowser')%>',
+ '<%=self.default_path and self.default_path%>'
<%- if #self.keylist > 0 then -%>, [{
<%- for i, k in ipairs(self.keylist) do -%>
<%-=string.format("%q", k) .. ":" .. string.format("%q", self.vallist[i])-%>