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