From e5dc0af0e15bb3cf6503df64ad5a9e1edafbc353 Mon Sep 17 00:00:00 2001 From: rohitwaghchaure Date: Wed, 14 Jun 2017 15:45:39 +0530 Subject: [PATCH] [Fix] Email digest email by document field's value not refreshing on change of document type (#3479) --- frappe/email/doctype/email_alert/email_alert.js | 1 + 1 file changed, 1 insertion(+) diff --git a/frappe/email/doctype/email_alert/email_alert.js b/frappe/email/doctype/email_alert/email_alert.js index 2042b62679..3736585f9a 100755 --- a/frappe/email/doctype/email_alert/email_alert.js +++ b/frappe/email/doctype/email_alert/email_alert.js @@ -34,6 +34,7 @@ frappe.email_alert = { // set first option as blank to allow email alert not to be defaulted to the owner frm.doc.name).options = [""].concat(["owner"].concat(email_fields)); + frm.fields_dict.recipients.grid.refresh(); }); } }