gluon-web-model: fix deplist() argument list

Fixes dependency tracking for individual <option> elements (currently
unused).
This commit is contained in:
Matthias Schiffer 2020-05-09 00:39:49 +02:00 committed by Andreas Ziegler
parent 50adb097fa
commit 3951607e53

View File

@ -145,7 +145,7 @@ function AbstractValue:depends(field, value)
table.insert(self.deps, deps)
end
function AbstractValue:deplist(_, deplist)
function AbstractValue:deplist(deplist)
local deps = {}
for _, d in ipairs(deplist or self.deps) do