projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e95d152
)
* luci/core: cbi.lua: fix auto-i18n for values inside typed sections
author
Jo-Philipp Wich
<jow@openwrt.org>
Sun, 1 Jun 2008 21:20:20 +0000
(21:20 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Sun, 1 Jun 2008 21:20:20 +0000
(21:20 +0000)
libs/cbi/luasrc/cbi.lua
patch
|
blob
|
history
diff --git
a/libs/cbi/luasrc/cbi.lua
b/libs/cbi/luasrc/cbi.lua
index c8c810c04b2534f54a1ba22903b98897374a1864..ace35d951dc0473909f1e7dd4cba04dda86395fc 100644
(file)
--- a/
libs/cbi/luasrc/cbi.lua
+++ b/
libs/cbi/luasrc/cbi.lua
@@
-247,7
+247,7
@@
function AbstractSection.option(self, class, option, ...)
if instanceof(class, AbstractValue) then
local obj = class(self.map, option, ...)
- Node._i18n(obj, self.config, self.section, option, ...)
+ Node._i18n(obj, self.config, self.section
or self.sectiontype
, option, ...)
self:append(obj)
return obj