From: Florian Eckert Date: Tue, 12 Apr 2022 11:01:14 +0000 (+0200) Subject: luci-mod-system: mount sections are always mounted unless they are explicitly not... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=refs%2Fpull%2F5765%2Fhead;p=project%2Fluci.git luci-mod-system: mount sections are always mounted unless they are explicitly not mounted fixes #4862 Signed-off-by: Florian Eckert --- diff --git a/modules/luci-mod-system/htdocs/luci-static/resources/view/system/mounts.js b/modules/luci-mod-system/htdocs/luci-static/resources/view/system/mounts.js index f8c9dfd129..7c26bf060a 100644 --- a/modules/luci-mod-system/htdocs/luci-static/resources/view/system/mounts.js +++ b/modules/luci-mod-system/htdocs/luci-static/resources/view/system/mounts.js @@ -242,6 +242,7 @@ return view.extend({ o = s.taboption('general', form.Flag, 'enabled', _('Enabled')); o.rmempty = false; + o.default = true; o.editable = true; o = s.taboption('general', form.DummyValue, '_device', _('Device'));