From: Richard Yu Date: Thu, 24 Oct 2019 17:37:37 +0000 (+0800) Subject: luci-app-cifsd: fix read_only option incorrect default value X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=refs%2Fpull%2F3239%2Fhead;p=oweals%2Fluci.git luci-app-cifsd: fix read_only option incorrect default value Signed-off-by: Richard Yu --- 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'));