diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-08-13 17:14:25 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-08-13 17:14:25 +0000 |
commit | 892ed55ba08d3d5553e621e57d69a3eb8ffa4efc (patch) | |
tree | 0a2bf5a1a62005675d64d990f0064194be9972ee /libs/cbi/luasrc/cbi.lua | |
parent | 6b1be858be3f462d0e81a3fc6c3483041115c046 (diff) |
libs/cbi: attach pcdata() to template scope and use it
Diffstat (limited to 'libs/cbi/luasrc/cbi.lua')
-rw-r--r-- | libs/cbi/luasrc/cbi.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/cbi/luasrc/cbi.lua b/libs/cbi/luasrc/cbi.lua index 83f5c27e7..044993a6a 100644 --- a/libs/cbi/luasrc/cbi.lua +++ b/libs/cbi/luasrc/cbi.lua @@ -1340,6 +1340,7 @@ function AbstractValue.render(self, s, scope) scope.section = s scope.cbid = self:cbid(s) scope.striptags = luci.util.striptags + scope.pcdata = luci.util.pcdata scope.ifattr = function(cond,key,val) if cond then |