summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-cifsd/htdocs
diff options
context:
space:
mode:
authorRichard Yu <yurichard3839@gmail.com>2019-10-25 01:37:37 +0800
committerRichard Yu <yurichard3839@gmail.com>2019-10-25 01:37:37 +0800
commit56a1dd22e05021aefb8c89bf17ecfabaecc3c354 (patch)
tree2f4613aea5e60df6de338f063304eba8ac0c49d2 /applications/luci-app-cifsd/htdocs
parent5c26916d7b31d24268cb1f994f229c08663ad23e (diff)
luci-app-cifsd: fix read_only option incorrect default value
Signed-off-by: Richard Yu <yurichard3839@gmail.com>
Diffstat (limited to 'applications/luci-app-cifsd/htdocs')
-rw-r--r--applications/luci-app-cifsd/htdocs/luci-static/resources/view/cifsd.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-cifsd/htdocs/luci-static/resources/view/cifsd.js b/applications/luci-app-cifsd/htdocs/luci-static/resources/view/cifsd.js
index 7c75b85d71..77a11957f1 100644
--- a/applications/luci-app-cifsd/htdocs/luci-static/resources/view/cifsd.js
+++ b/applications/luci-app-cifsd/htdocs/luci-static/resources/view/cifsd.js
@@ -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'));