codacy fixes
This commit is contained in:
parent
9e35bff55c
commit
2b7064a348
@ -3,7 +3,6 @@
|
|||||||
|
|
||||||
frappe.ui.form.on('Email Campaign', {
|
frappe.ui.form.on('Email Campaign', {
|
||||||
// refresh: function(frm) {
|
// refresh: function(frm) {
|
||||||
|
|
||||||
// }
|
// }
|
||||||
email_campaign_for: function(frm) {
|
email_campaign_for: function(frm) {
|
||||||
frm.set_value('recipient', '');
|
frm.set_value('recipient', '');
|
||||||
|
@ -3,9 +3,9 @@ frappe.listview_settings['Email Campaign'] = {
|
|||||||
var colors = {
|
var colors = {
|
||||||
"Unsubscribed": "red",
|
"Unsubscribed": "red",
|
||||||
"Scheduled": "blue",
|
"Scheduled": "blue",
|
||||||
"In Progress": "orange",
|
"In Progress": "orange",
|
||||||
"Completed": "green"
|
"Completed": "green"
|
||||||
}
|
};
|
||||||
return [__(doc.status), colors[doc.status], "status,=," + doc.status];
|
return [__(doc.status), colors[doc.status], "status,=," + doc.status];
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user