diff options
author | Steven Barth <steven@midlink.org> | 2008-09-13 12:20:39 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-09-13 12:20:39 +0000 |
commit | f9303705a0210a5c8dd7b44697c3ff31e1473b1a (patch) | |
tree | 6b3ea8bbbd3e80af625905c307233eb803e5acea /libs/uvl/luasrc/uvl.lua | |
parent | b69589fba337ac9c362e02d58c354b2e218900c7 (diff) |
Overall CBI-UVL ineraction fixes
Diffstat (limited to 'libs/uvl/luasrc/uvl.lua')
-rw-r--r-- | libs/uvl/luasrc/uvl.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/uvl/luasrc/uvl.lua b/libs/uvl/luasrc/uvl.lua index c75b9bd7d..683d7a9bb 100644 --- a/libs/uvl/luasrc/uvl.lua +++ b/libs/uvl/luasrc/uvl.lua @@ -633,8 +633,10 @@ function UVL._parse_enum(self, scheme, k, v) if not t.values then t.values = { [v.value] = v.title or v.value } + t.valuelist = { {value = v.value, title = v.title} } else t.values[v.value] = v.title or v.value + t.valuelist[#t.valuelist + 1] = {value = v.value, title = v.title} end if not t.enum_depends then |