summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-system/htdocs/luci-static/resources/view/system/mounts.js
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2022-04-12 13:01:14 +0200
committerFlorian Eckert <fe@dev.tdt.de>2022-04-12 13:01:17 +0200
commit5abb2847ba7267a2c9cdbcb8ef506f0be7015047 (patch)
tree6f10b74626c3b6519b7c3f4b15fe410542df2230 /modules/luci-mod-system/htdocs/luci-static/resources/view/system/mounts.js
parentddd04a719f3adf4c59d6ab153de0c26eb9495a93 (diff)
luci-mod-system: mount sections are always mounted unless they are explicitly not mounted
fixes #4862 Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'modules/luci-mod-system/htdocs/luci-static/resources/view/system/mounts.js')
-rw-r--r--modules/luci-mod-system/htdocs/luci-static/resources/view/system/mounts.js1
1 files changed, 1 insertions, 0 deletions
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'));