diff --git a/erpnext/crm/doctype/email_campaign/email_campaign.js b/erpnext/crm/doctype/email_campaign/email_campaign.js index 09ed84882d..7549dbf7ef 100644 --- a/erpnext/crm/doctype/email_campaign/email_campaign.js +++ b/erpnext/crm/doctype/email_campaign/email_campaign.js @@ -3,7 +3,6 @@ frappe.ui.form.on('Email Campaign', { // refresh: function(frm) { - // } email_campaign_for: function(frm) { frm.set_value('recipient', ''); diff --git a/erpnext/crm/doctype/email_campaign/email_campaign_list.js b/erpnext/crm/doctype/email_campaign/email_campaign_list.js index d1bfdd31ee..adc399da0f 100644 --- a/erpnext/crm/doctype/email_campaign/email_campaign_list.js +++ b/erpnext/crm/doctype/email_campaign/email_campaign_list.js @@ -3,9 +3,9 @@ frappe.listview_settings['Email Campaign'] = { var colors = { "Unsubscribed": "red", "Scheduled": "blue", - "In Progress": "orange", - "Completed": "green" - } + "In Progress": "orange", + "Completed": "green" + }; return [__(doc.status), colors[doc.status], "status,=," + doc.status]; } };