Merge pull request #5312 from boretom/app-ledtrig-usbport
luci-app-ledtrig-usbport: fix allow multiple selection
This commit is contained in:
commit
ab2f8b8b04
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ return baseclass.extend({
|
||||||
addFormOptions(s){
|
addFormOptions(s){
|
||||||
var o;
|
var o;
|
||||||
|
|
||||||
o = s.option(form.Value, 'port', _('USB Ports'));
|
o = s.option(form.MultiValue, 'port', _('USB Ports'));
|
||||||
o.depends('trigger', 'usbport');
|
o.depends('trigger', 'usbport');
|
||||||
o.rmempty = true;
|
o.rmempty = true;
|
||||||
o.modalonly = true;
|
o.modalonly = true;
|
||||||
|
|
Loading…
Reference in a new issue