git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
176cbe1
)
luci-mod-system: add missing speed_mask option in leds.js
author
Richard Yu
<redacted>
Mon, 28 Oct 2019 06:57:19 +0000
(14:57 +0800)
committer
Richard Yu
<redacted>
Mon, 28 Oct 2019 06:57:19 +0000
(14:57 +0800)
Signed-off-by: Richard Yu <redacted>
modules/luci-mod-system/htdocs/luci-static/resources/view/system/leds.js
patch
|
blob
|
history
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 139db8797c0d8de578819f3315da2500d293ee24..b571032efc93348d1dee64138bca73fa917fc212 100644
(file)
--- 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();
}
});
git clone https://git.99rst.org/PROJECT