From 17c3de83d2ece0ad2370ada8c22af684cab115f9 Mon Sep 17 00:00:00 2001 From: Paul Donald Date: Tue, 14 May 2024 14:14:29 +0200 Subject: [PATCH] luci-app-p910nd: Fix enable default Enabled setting shall always be present. Signed-off-by: Paul Donald (cherry picked from commit 05c6a0887f88dd65b8176686f3aee5bd05d8771a) --- .../luci-app-p910nd/htdocs/luci-static/resources/view/p910nd.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 df06232558..9f934b15d0 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 @@ -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.') + '
' + -- 2.30.2