From 6e9b996c63a532f815dbc81866ec3b312adf8f2d Mon Sep 17 00:00:00 2001 From: Huangbin Zhan Date: Wed, 13 May 2020 04:13:30 +0800 Subject: [PATCH] luci-mod-system: fix button disabled status Signed-off-by: Huangbin Zhan --- .../htdocs/luci-static/resources/view/system/flash.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') ]) ])); -- 2.25.1