Browse Source

[Fix] On selection standard reply, data not fetching in email body

version-14
Rohit Waghchaure 8 years ago
parent
commit
1a47127089
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      frappe/public/js/frappe/views/communication.js

+ 4
- 4
frappe/public/js/frappe/views/communication.js View File

@@ -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…
Cancel
Save