luci-app-cifsd: fix read_only option incorrect default value 3239/head
authorRichard Yu <yurichard3839@gmail.com>
Thu, 24 Oct 2019 17:37:37 +0000 (01:37 +0800)
committerRichard Yu <yurichard3839@gmail.com>
Thu, 24 Oct 2019 17:37:37 +0000 (01:37 +0800)
Signed-off-by: Richard Yu <yurichard3839@gmail.com>
applications/luci-app-cifsd/htdocs/luci-static/resources/view/cifsd.js

index 7c75b85d71925085ac88b62536191a6250513ed9..77a11957f112de116002f62a82b8201efb5cd25e 100644 (file)
@@ -62,7 +62,7 @@ return L.view.extend({
                o = s.option(form.Flag, 'read_only', _('Read-only'));
                o.enabled = 'yes';
                o.disabled = 'no';
-               o.default = 'yes';
+               o.default = 'no';
 
                s.option(form.Flag, 'force_root', _('Force Root'));