瀏覽代碼

Merge pull request #3600 from rohitwaghchaure/standard_reply_issue

[Fix] On selection standard reply, data not fetching in email message section
version-14
rohitwaghchaure 8 年之前
committed by GitHub
父節點
當前提交
00613dbad4
共有 1 個檔案被更改,包括 4 行新增4 行删除
  1. +4
    -4
      frappe/public/js/frappe/views/communication.js

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

@@ -156,8 +156,9 @@ frappe.views.CommunicationComposer = Class.extend({


setup_standard_reply: function() { setup_standard_reply: function() {
var me = this; var me = this;
this.dialog.get_input("standard_reply").on("change", function() {
var standard_reply = $(this).val();

this.dialog.fields_dict["standard_reply"].df.onchange = () => {
var standard_reply = me.dialog.fields_dict.standard_reply.$input.val();


var prepend_reply = function(reply) { var prepend_reply = function(reply) {
if(me.reply_added===standard_reply) { if(me.reply_added===standard_reply) {
@@ -194,8 +195,7 @@ frappe.views.CommunicationComposer = Class.extend({
prepend_reply(r.message); prepend_reply(r.message);
} }
}); });

});
}
}, },


setup_last_edited_communication: function() { setup_last_edited_communication: function() {


Loading…
取消
儲存