diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-05-13 10:11:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-13 10:11:12 +0200 |
commit | 55c1ae40eea795fa302c5b4d5dc8a40a8a2a6dbb (patch) | |
tree | aeff560fe7ab0bbf972fd55da469bccd6b9a2e5e /modules | |
parent | 012a3d2f84bcb65c8a90b68b8da9b8bd411a1d80 (diff) | |
parent | 6e9b996c63a532f815dbc81866ec3b312adf8f2d (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.js | 2 |
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') ]) ])); |