luci-mod-system: add missing speed_mask option in leds.js

Signed-off-by: Richard Yu <yurichard3839@gmail.com>
This commit is contained in:
Richard Yu 2019-10-28 14:57:19 +08:00
parent 176cbe12ea
commit c6d0822793
No known key found for this signature in database
GPG key ID: D16286AFD4E1FFF3

View file

@ -148,6 +148,11 @@ return L.view.extend({
o.depends('trigger', 'switch0');
o.depends('trigger', 'switch1');
o = s.option(form.Value, 'speed_mask', _('Switch Speed Mask'));
o.modalonly = true;
o.depends('trigger', 'switch0');
o.depends('trigger', 'switch1');
return m.render();
}
});