luci-mod-system: fix button disabled status
Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
This commit is contained in:
parent
4e5ca8a6a0
commit
6e9b996c63
1 changed files with 1 additions and 1 deletions
|
@ -426,7 +426,7 @@ return view.extend({
|
||||||
E('button', {
|
E('button', {
|
||||||
'class': 'cbi-button cbi-button-save',
|
'class': 'cbi-button cbi-button-save',
|
||||||
'click': ui.createHandlerFn(view, 'handleBackupSave', this.map),
|
'click': ui.createHandlerFn(view, 'handleBackupSave', this.map),
|
||||||
'disabled': isReadonlyView
|
'disabled': isReadonlyView || null
|
||||||
}, [ _('Save') ])
|
}, [ _('Save') ])
|
||||||
]));
|
]));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue