Skip to content
Commit a4fd238a authored by Sergey Ponomarev's avatar Sergey Ponomarev
Browse files

luci-base: FlagValue fix type of enabled and disabled properties



The form.Flag checkbox allows to specify a value for enabled/disabled e.g. for a dropbear:

    o = s.option(form.Flag, 'PasswordAuth');
    o.enabled  = 'on';

So the property type should be a string but not just a number.

Signed-off-by: default avatarSergey Ponomarev <stokito@gmail.com>
parent b18960f6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment