summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-system/htdocs/luci-static/resources/view
diff options
context:
space:
mode:
authorRichard Yu <yurichard3839@gmail.com>2019-10-28 14:57:19 +0800
committerRichard Yu <yurichard3839@gmail.com>2019-10-28 14:57:19 +0800
commitc6d0822793fc42ddd5a179af291aaf5151f669fb (patch)
tree2c1ce2124a3a012c6909926bdb55a1e06d84453a /modules/luci-mod-system/htdocs/luci-static/resources/view
parent176cbe12ea29006e4d4bf9dd3fe2ee708c010372 (diff)
luci-mod-system: add missing speed_mask option in leds.js
Signed-off-by: Richard Yu <yurichard3839@gmail.com>
Diffstat (limited to 'modules/luci-mod-system/htdocs/luci-static/resources/view')
-rw-r--r--modules/luci-mod-system/htdocs/luci-static/resources/view/system/leds.js5
1 files changed, 5 insertions, 0 deletions
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();
}
});