summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-system
diff options
context:
space:
mode:
authorHuangbin Zhan <zhanhb88@gmail.com>2020-05-13 04:13:30 +0800
committerHuangbin Zhan <zhanhb88@gmail.com>2020-05-13 04:26:59 +0800
commit6e9b996c63a532f815dbc81866ec3b312adf8f2d (patch)
treecc3df917ed0cbe2e7b7fecaa1c67ad8e9f365793 /modules/luci-mod-system
parent4e5ca8a6a0d5981262e7621c2c666aebc621ad11 (diff)
luci-mod-system: fix button disabled status
Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
Diffstat (limited to 'modules/luci-mod-system')
-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 c1e1273772..4a1058d0d9 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') ])
]));