diff --git a/frappe/core/doctype/communication/email.py b/frappe/core/doctype/communication/email.py index 92b2b29f27..d96ad73d2e 100755 --- a/frappe/core/doctype/communication/email.py +++ b/frappe/core/doctype/communication/email.py @@ -33,7 +33,7 @@ def make(doctype=None, name=None, content=None, subject=None, sent_or_received = :param sender: Communcation sender (default current user). :param recipients: Communication recipients as list. :param communication_medium: Medium of communication (default **Email**). - :param send_mail: Send via email (default **False**). + :param send_email: Send via email (default **False**). :param print_html: HTML Print format to be sent as attachment. :param print_format: Print Format name of parent document to be sent as attachment. :param attachments: List of attachments as list of files or JSON string. @@ -50,6 +50,9 @@ def make(doctype=None, name=None, content=None, subject=None, sent_or_received = if not sender: sender = get_formatted_email(frappe.session.user) + if isinstance(recipients, list): + recipients = ', '.join(recipients) + comm = frappe.get_doc({ "doctype":"Communication", "subject": subject, diff --git a/frappe/public/js/frappe/desk.js b/frappe/public/js/frappe/desk.js index a04e4eed4b..ec01e611d1 100644 --- a/frappe/public/js/frappe/desk.js +++ b/frappe/public/js/frappe/desk.js @@ -397,6 +397,7 @@ frappe.Application = Class.extend({ } }); dialog.set_primary_action(__('Login'), () => { + me.dialog.set_message(__('Authenticating...')); frappe.call({ method: 'login', args: {