luci-mod-system: mount sections are always mounted unless they are explicitly not... 5765/head
authorFlorian Eckert <fe@dev.tdt.de>
Tue, 12 Apr 2022 11:01:14 +0000 (13:01 +0200)
committerFlorian Eckert <fe@dev.tdt.de>
Tue, 12 Apr 2022 11:01:17 +0000 (13:01 +0200)
fixes #4862

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
modules/luci-mod-system/htdocs/luci-static/resources/view/system/mounts.js

index f8c9dfd129dc5cbca9482214613b0813dbe81b19..7c26bf060abe489cfd2f53cc429f16857188b948 100644 (file)
@@ -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'));