luci-0.10: merge r6759-r6784
[project/luci.git] / libs / web / luasrc / view / cbi / dynlist.htm
index a78121ba9f965e0e44e4a100f9ca90797f2ddd21..ac9fe348290bef5952a0481835257570d81a277b 100644 (file)
@@ -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%>', {