mirror of
https://github.com/openwrt/luci.git
synced 2026-05-30 03:32:26 +08:00
luci-app-p910nd: retain unchecked value for bidirectionality
Some checks failed
LuCI repo CodeQL Analysis / Analyze JavaScript and JSON (javascript-typescript) (push) Has been cancelled
Some checks failed
LuCI repo CodeQL Analysis / Analyze JavaScript and JSON (javascript-typescript) (push) Has been cancelled
Some devices might identify incorrectly as having bidi support so unchecking the option should retain a '0' value. Signed-off-by: Paul Donald <newtwen+github@gmail.com>
This commit is contained in:
@@ -142,6 +142,7 @@ return view.extend({
|
||||
_('Whether this print port is bi-directional.') + '<br />' +
|
||||
_('Note: USB hotplug correctly detects this.'));
|
||||
o.modalonly = true;
|
||||
o.rmempty = false;
|
||||
|
||||
o = s.option(form.Flag, 'runas_root', _('Run as root'),
|
||||
_('Overrides default of %s.').format('<code>user p910nd, group lp</code>'));
|
||||
|
||||
Reference in New Issue
Block a user