From 5abb2847ba7267a2c9cdbcb8ef506f0be7015047 Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Tue, 12 Apr 2022 13:01:14 +0200 Subject: luci-mod-system: mount sections are always mounted unless they are explicitly not mounted fixes #4862 Signed-off-by: Florian Eckert --- .../luci-mod-system/htdocs/luci-static/resources/view/system/mounts.js | 1 + 1 file changed, 1 insertion(+) 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')); -- cgit v1.2.3