summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2022-08-03 09:47:50 +0200
committerGitHub <noreply@github.com>2022-08-03 09:47:50 +0200
commitbb9476cb94d488b525d7acb5f3c285e5b17b8ae2 (patch)
treede627115febcf34650040df8df753fdcb4d62478
parenta70c5705e476cf1325edceab29c15148c289f280 (diff)
parent5abb2847ba7267a2c9cdbcb8ef506f0be7015047 (diff)
Merge pull request #5765 from TDT-AG/pr/20220412-luci-mod-system
luci-mod-system: mount sections are always mounted unless they are explicitly not mounted
-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'));