summaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2020-05-13 10:11:12 +0200
committerGitHub <noreply@github.com>2020-05-13 10:11:12 +0200
commit55c1ae40eea795fa302c5b4d5dc8a40a8a2a6dbb (patch)
treeaeff560fe7ab0bbf972fd55da469bccd6b9a2e5e /modules
parent012a3d2f84bcb65c8a90b68b8da9b8bd411a1d80 (diff)
parent6e9b996c63a532f815dbc81866ec3b312adf8f2d (diff)
Merge pull request #4046 from zhanhb/luci-mod-system-flash
luci-mod-system: fix button disabled status
Diffstat (limited to 'modules')
-rw-r--r--modules/luci-mod-system/htdocs/luci-static/resources/view/system/flash.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-mod-system/htdocs/luci-static/resources/view/system/flash.js b/modules/luci-mod-system/htdocs/luci-static/resources/view/system/flash.js
index c1e127377..4a1058d0d 100644
--- a/modules/luci-mod-system/htdocs/luci-static/resources/view/system/flash.js
+++ b/modules/luci-mod-system/htdocs/luci-static/resources/view/system/flash.js
@@ -426,7 +426,7 @@ return view.extend({
E('button', {
'class': 'cbi-button cbi-button-save',
'click': ui.createHandlerFn(view, 'handleBackupSave', this.map),
- 'disabled': isReadonlyView
+ 'disabled': isReadonlyView || null
}, [ _('Save') ])
]));