projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
libs/cbi: attach pcdata() to template scope and use it
[project/luci.git]
/
libs
/
cbi
/
luasrc
/
view
/
cbi
/
cell_valuefooter.htm
diff --git
a/libs/cbi/luasrc/view/cbi/cell_valuefooter.htm
b/libs/cbi/luasrc/view/cbi/cell_valuefooter.htm
index
6dd5667
..
c325e49
100644
(file)
--- a/
libs/cbi/luasrc/view/cbi/cell_valuefooter.htm
+++ b/
libs/cbi/luasrc/view/cbi/cell_valuefooter.htm
@@
-12,6
+12,8
@@
You may obtain a copy of the License at
$Id$
-%>
$Id$
-%>
+</div>
+<div id="cbip-<%=self.config.."-"..section.."-"..self.option%>"></div>
</td>
<% if #self.deps > 0 then -%>
</td>
<% if #self.deps > 0 then -%>
@@
-21,11
+23,12
@@
$Id$
<%-
for k,v in pairs(d.deps) do
-%>
<%-
for k,v in pairs(d.deps) do
-%>
- <%-=string.format('"cbid.%s.%s.%s"', self.config, section, k) .. ":" .. string.format("%q", v)-%>,
+ <%-=string.format('"cbid.%s.%s.%s"', self.config, section, k) .. ":" .. string.format("%q", v)-%>
+ <%-if next(d.deps, k) then-%>,<%-end-%>
<%-
end
-%>
<%-
end
-%>
- });
+ }
, "cbip-<%=self.config.."-"..section.."-"..self.option%>"
);
<%- end %>
</script>
<%- end %>
</script>
-<%- end %>
+<%- end %>
\ No newline at end of file