-
- Downloads
gluon-web-model: add dependency support for sections
- Add a dependency array to section template - Lift dependency handling from AbstractValue to Node - Split resolve_depends() into a function handling dependencies of a node itself (resolve_node_depends()), which now is used for all nodes, and the existing recursive descent through the node tree - When any node's dependencies are not satisfied, all descendents are reset recursively, meaning that an option in a section that is hidden will always be ignored, as if the option's own dependencies were unsatisfied Fixes: #1349
Showing
- package/gluon-web-model/files/lib/gluon/web/view/model/section.html 1 addition, 1 deletion...uon-web-model/files/lib/gluon/web/view/model/section.html
- package/gluon-web-model/luasrc/usr/lib/lua/gluon/web/model/classes.lua 62 additions, 46 deletions...-web-model/luasrc/usr/lib/lua/gluon/web/model/classes.lua
Loading
Please register or sign in to comment