git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
39b5141
)
luci-app-p910nd: retain unchecked value for bidirectionality
author
Paul Donald
<redacted>
Fri, 6 Mar 2026 17:47:49 +0000
(18:47 +0100)
committer
Paul Donald
<redacted>
Fri, 6 Mar 2026 17:48:01 +0000
(18:48 +0100)
Some devices might identify incorrectly as having bidi support
so unchecking the option should retain a '0' value.
Signed-off-by: Paul Donald <redacted>
applications/luci-app-p910nd/htdocs/luci-static/resources/view/p910nd.js
patch
|
blob
|
history
diff --git
a/applications/luci-app-p910nd/htdocs/luci-static/resources/view/p910nd.js
b/applications/luci-app-p910nd/htdocs/luci-static/resources/view/p910nd.js
index a55fefd233bd87ab7c86629a3c05c9c3b310c0e6..a0edc5cd504f519e8ade2c8bdb1bd70ee18bac73 100644
(file)
--- a/
applications/luci-app-p910nd/htdocs/luci-static/resources/view/p910nd.js
+++ b/
applications/luci-app-p910nd/htdocs/luci-static/resources/view/p910nd.js
@@
-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>'));
git clone https://git.99rst.org/PROJECT