[fix] dropbox backup can be changed if setup, fixes frappe/erpnext#5260
This commit is contained in:
parent
8092f4a031
commit
f59e6be0f4
1 changed files with 3 additions and 1 deletions
|
|
@ -4,7 +4,9 @@ $.extend(cur_frm.cscript, {
|
|||
},
|
||||
|
||||
refresh: function() {
|
||||
cur_frm.disable_save();
|
||||
if(!cur_frm.doc.allow_dropbox_access) {
|
||||
cur_frm.disable_save();
|
||||
}
|
||||
},
|
||||
|
||||
validate_send_notifications_to: function() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue