cbi.lua: Implement Flag.validate function 526/head
authorChristian Schoenebeck <christian.schoenebeck@gmail.com>
Fri, 30 Oct 2015 17:42:38 +0000 (18:42 +0100)
committerChristian Schoenebeck <christian.schoenebeck@gmail.com>
Fri, 30 Oct 2015 17:42:38 +0000 (18:42 +0100)
commit84a57ec36f62fac2484b3ab2dc0380321e86aefe
tree9fc099f4b5520af218dcccf25b3006b44e8032b5
parent25a44579e53e177bff37d1ce0f875bfa4ec89edd
cbi.lua: Implement Flag.validate function

cbi.lua
- Implement Flag.validate function to be overwritable
- rewritten if clause for easier reading ;-)

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
modules/luci-base/luasrc/cbi.lua