Skip to content
Snippets Groups Projects
Commit 3951607e authored by Matthias Schiffer's avatar Matthias Schiffer Committed by Andreas Ziegler
Browse files

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

Fixes dependency tracking for individual <option> elements (currently
unused).
parent 50adb097
No related branches found
No related tags found
No related merge requests found
...@@ -145,7 +145,7 @@ function AbstractValue:depends(field, value) ...@@ -145,7 +145,7 @@ function AbstractValue:depends(field, value)
table.insert(self.deps, deps) table.insert(self.deps, deps)
end end
function AbstractValue:deplist(_, deplist) function AbstractValue:deplist(deplist)
local deps = {} local deps = {}
for _, d in ipairs(deplist or self.deps) do for _, d in ipairs(deplist or self.deps) do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment