From: Paul Donald Date: Tue, 14 May 2024 12:14:29 +0000 (+0200) Subject: luci-app-p910nd: Fix enable default X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=05c6a0887f88dd65b8176686f3aee5bd05d8771a;p=project%2Fluci.git luci-app-p910nd: Fix enable default Enabled setting shall always be present. Signed-off-by: Paul Donald --- 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.') + '
' +