diff options
author | Huangbin Zhan <zhanhb88@gmail.com> | 2020-05-13 04:13:30 +0800 |
---|---|---|
committer | Huangbin Zhan <zhanhb88@gmail.com> | 2020-05-13 04:26:59 +0800 |
commit | 6e9b996c63a532f815dbc81866ec3b312adf8f2d (patch) | |
tree | cc3df917ed0cbe2e7b7fecaa1c67ad8e9f365793 /modules/luci-mod-system/htdocs/luci-static/resources/view/system/flash.js | |
parent | 4e5ca8a6a0d5981262e7621c2c666aebc621ad11 (diff) |
luci-mod-system: fix button disabled status
Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
Diffstat (limited to 'modules/luci-mod-system/htdocs/luci-static/resources/view/system/flash.js')
-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') ]) ])); |