mirror of https://git.openwrt.org/project/luci.git
luci-app-p910nd: Fix enable default
Enabled setting shall always be present. Signed-off-by: Paul Donald <newtwen+github@gmail.com>
This commit is contained in:
parent
728314c4b6
commit
05c6a0887f
|
@ -105,7 +105,7 @@ return view.extend({
|
|||
s.modaltitle = _('Settings');
|
||||
|
||||
o = s.option(form.Flag, 'enabled', _('Enabled'));
|
||||
o.default = true;
|
||||
o.rmempty = false;
|
||||
|
||||
o = s.option(form.Value, 'device', _('Device'),
|
||||
_('Note: character device assignment can change upon reboot/reconnect with multiple USB devices.') + '<br />' +
|
||||
|
|
Loading…
Reference in New Issue