From 990e46c85188a1f6542dcccb666825b50648aed2 Mon Sep 17 00:00:00 2001 From: Paul Donald Date: Fri, 6 Mar 2026 18:47:49 +0100 Subject: [PATCH] luci-app-p910nd: retain unchecked value for bidirectionality Some devices might identify incorrectly as having bidi support so unchecking the option should retain a '0' value. Signed-off-by: Paul Donald --- .../luci-app-p910nd/htdocs/luci-static/resources/view/p910nd.js | 1 + 1 file changed, 1 insertion(+) 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 a55fefd233..a0edc5cd50 100644 --- 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.') + '
' + _('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('user p910nd, group lp'));