summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--modules/luci-mod-system/htdocs/luci-static/resources/view/system/led-trigger/timer.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/modules/luci-mod-system/htdocs/luci-static/resources/view/system/led-trigger/timer.js b/modules/luci-mod-system/htdocs/luci-static/resources/view/system/led-trigger/timer.js
index 1ec362b601..f8b89f1cdd 100644
--- a/modules/luci-mod-system/htdocs/luci-static/resources/view/system/led-trigger/timer.js
+++ b/modules/luci-mod-system/htdocs/luci-static/resources/view/system/led-trigger/timer.js
@@ -8,11 +8,15 @@ return baseclass.extend({
addFormOptions(s){
var o;
- o = s.option(form.Value, 'delayon', _('On-State Delay'));
+ o = s.option(form.Value, 'delayon', _('On-State Delay'),
+ _('How long (in milliseconds) the LED should be on')
+ );
o.modalonly = true;
o.depends('trigger', 'timer');
- o = s.option(form.Value, 'delayoff', _('Off-State Delay'));
+ o = s.option(form.Value, 'delayoff', _('Off-State Delay'),
+ _('How long (in milliseconds) the LED should be off')
+ );
o.modalonly = true;
o.depends('trigger', 'timer');
}