From: Richard Yu Date: Mon, 28 Oct 2019 06:57:19 +0000 (+0800) Subject: luci-mod-system: add missing speed_mask option in leds.js X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c6d0822793fc42ddd5a179af291aaf5151f669fb;p=oweals%2Fluci.git luci-mod-system: add missing speed_mask option in leds.js Signed-off-by: Richard Yu --- diff --git a/modules/luci-mod-system/htdocs/luci-static/resources/view/system/leds.js b/modules/luci-mod-system/htdocs/luci-static/resources/view/system/leds.js index 139db8797..b571032ef 100644 --- a/modules/luci-mod-system/htdocs/luci-static/resources/view/system/leds.js +++ b/modules/luci-mod-system/htdocs/luci-static/resources/view/system/leds.js @@ -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(); } });