diff options
author | Paul Donald <newtwen+github@gmail.com> | 2024-05-14 14:14:29 +0200 |
---|---|---|
committer | Paul Donald <newtwen+github@gmail.com> | 2024-05-14 14:14:29 +0200 |
commit | 05c6a0887f88dd65b8176686f3aee5bd05d8771a (patch) | |
tree | 22cad21940b9c57fc283999040b7fb96ff522768 /applications/luci-app-p910nd/htdocs/luci-static/resources/view/p910nd.js | |
parent | 728314c4b6628fd5d3820d321774aec79bdcb99c (diff) |
luci-app-p910nd: Fix enable default
Enabled setting shall always be present.
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
Diffstat (limited to 'applications/luci-app-p910nd/htdocs/luci-static/resources/view/p910nd.js')
-rw-r--r-- | applications/luci-app-p910nd/htdocs/luci-static/resources/view/p910nd.js | 2 |
1 files changed, 1 insertions, 1 deletions
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.') + '<br />' + |