summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-ledtrig-usbport/htdocs
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-ledtrig-usbport/htdocs')
-rw-r--r--applications/luci-app-ledtrig-usbport/htdocs/luci-static/resources/view/system/led-trigger/usbport.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/applications/luci-app-ledtrig-usbport/htdocs/luci-static/resources/view/system/led-trigger/usbport.js b/applications/luci-app-ledtrig-usbport/htdocs/luci-static/resources/view/system/led-trigger/usbport.js
index 602b597afc..7491b71236 100644
--- a/applications/luci-app-ledtrig-usbport/htdocs/luci-static/resources/view/system/led-trigger/usbport.js
+++ b/applications/luci-app-ledtrig-usbport/htdocs/luci-static/resources/view/system/led-trigger/usbport.js
@@ -12,11 +12,12 @@ var callUSB = rpc.declare({
return baseclass.extend({
trigger: _('USB (kernel: usbport)'),
+ description: _('This LED trigger can be used for signalling to the user a presence of USB device in a given port.'),
kernel: true,
addFormOptions(s){
var o;
- o = s.option(form.Value, 'port', _('USB Ports'));
+ o = s.option(form.MultiValue, 'port', _('USB Ports'));
o.depends('trigger', 'usbport');
o.rmempty = true;
o.modalonly = true;