From 8af9060efd8f47966e898cd12e0515da3b097203 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Fri, 5 Sep 2008 15:58:19 +0000 Subject: libs/cbi: Pass default values from UVL --- libs/cbi/luasrc/cbi.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'libs') diff --git a/libs/cbi/luasrc/cbi.lua b/libs/cbi/luasrc/cbi.lua index fb0355e91f..3a6c6d7aa3 100644 --- a/libs/cbi/luasrc/cbi.lua +++ b/libs/cbi/luasrc/cbi.lua @@ -838,6 +838,7 @@ function AbstractValue.__init__(self, map, section, option, ...) self.cast = (vs.type == "list") and "list" or "string" self.title = self.title or vs.title self.description = self.description or vs.descr + self.default = vs.default if vs.depends and not self.override_dependencies then for i, deps in ipairs(vs.depends) do -- cgit v1.2.3