codacy fixes

This commit is contained in:
Rucha Mahabal 2019-07-12 14:34:43 +05:30
parent 9e35bff55c
commit 2b7064a348
2 changed files with 3 additions and 4 deletions

View File

@ -3,7 +3,6 @@
frappe.ui.form.on('Email Campaign', {
// refresh: function(frm) {
// }
email_campaign_for: function(frm) {
frm.set_value('recipient', '');

View File

@ -5,7 +5,7 @@ frappe.listview_settings['Email Campaign'] = {
"Scheduled": "blue",
"In Progress": "orange",
"Completed": "green"
}
};
return [__(doc.status), colors[doc.status], "status,=," + doc.status];
}
};