[fix] dropbox backup can be changed if setup, fixes frappe/erpnext#5260

This commit is contained in:
Rushabh Mehta 2016-06-08 16:54:28 +05:30
parent 8092f4a031
commit f59e6be0f4

View file

@ -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() {