From 56a1dd22e05021aefb8c89bf17ecfabaecc3c354 Mon Sep 17 00:00:00 2001 From: Richard Yu Date: Fri, 25 Oct 2019 01:37:37 +0800 Subject: [PATCH] luci-app-cifsd: fix read_only option incorrect default value Signed-off-by: Richard Yu --- .../luci-app-cifsd/htdocs/luci-static/resources/view/cifsd.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 7c75b85d7..77a11957f 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')); -- 2.25.1