浏览代码

fix: signature should be an empty string by default

(would become undefined if the server message was empty)
version-14
barredterra 4 年前
committed by Suraj Shetty
父节点
当前提交
a720efdbd0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      frappe/public/js/frappe/views/communication.js

+ 1
- 1
frappe/public/js/frappe/views/communication.js 查看文件

@@ -726,7 +726,7 @@ frappe.views.CommunicationComposer = Class.extend({

if (!signature) {
const res = await this.get_default_outgoing_email_account_signature();
signature = "<!-- signature-included -->" + res.message.signature;
signature = res.message.signature ? "<!-- signature-included -->" + res.message.signature : "";
}

if (signature && !frappe.utils.is_html(signature)) {


正在加载...
取消
保存