summaryrefslogtreecommitdiffhomepage
path: root/libs/web/luasrc/view
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-01-23 18:28:35 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-01-23 18:28:35 +0000
commit2ae8c99606ac46854df19cf6cff8ed4e613d42df (patch)
tree4ceca5bcdd81223ee22682902539a67e290618d2 /libs/web/luasrc/view
parente20ac8fed4a745dea19b4674e335ae45e830c5f5 (diff)
libs/web: readd add/remove icons to dynamic list widgets
Diffstat (limited to 'libs/web/luasrc/view')
-rw-r--r--libs/web/luasrc/view/cbi/dynlist.htm2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/web/luasrc/view/cbi/dynlist.htm b/libs/web/luasrc/view/cbi/dynlist.htm
index a78121ba9..ac9fe3482 100644
--- a/libs/web/luasrc/view/cbi/dynlist.htm
+++ b/libs/web/luasrc/view/cbi/dynlist.htm
@@ -27,7 +27,7 @@ $Id$
<% end end %>
</div>
<script type="text/javascript">
-cbi_dynlist_init('<%=cbid%>');
+cbi_dynlist_init('<%=cbid%>', '<%=resource%>');
<% if self.datatype then -%>
<% if #self.keylist > 0 then -%>
cbi_combobox_init('<%=cbid .. "." .. i%>', {