Procházet zdrojové kódy

[fix] reply for email

version-14
Rushabh Mehta před 8 roky
rodič
revize
cfb7f4bd36
2 změnil soubory, kde provedl 4 přidání a 4 odebrání
  1. +1
    -1
      frappe/public/js/frappe/form/footer/timeline.js
  2. +3
    -3
      frappe/public/js/frappe/views/communication.js

+ 1
- 1
frappe/public/js/frappe/form/footer/timeline.js Zobrazit soubor

@@ -233,7 +233,7 @@ frappe.ui.form.Timeline = Class.extend({
new frappe.views.CommunicationComposer({
doc: me.frm.doc,
txt: "",
subject: __('Reply'),
title: __('Reply'),
frm: me.frm,
last_email: last_email
});


+ 3
- 3
frappe/public/js/frappe/views/communication.js Zobrazit soubor

@@ -12,7 +12,7 @@ frappe.views.CommunicationComposer = Class.extend({
make: function() {
var me = this;
this.dialog = new frappe.ui.Dialog({
title: (this.subject || __("New Email")),
title: (this.title || this.subject || __("New Email")),
no_submit_on_enter: true,
fields: this.get_fields(),
primary_action_label: __("Send"),
@@ -49,12 +49,12 @@ frappe.views.CommunicationComposer = Class.extend({
var fields= [
{label:__("To"), fieldtype:"Data", reqd: 0, fieldname:"recipients",length:524288},
{fieldtype: "Section Break", collapsible: 1, label: "CC & Standard Reply"},
{label:__("CC"), fieldtype:"Data", fieldname:"cc",length:524288},
{label:__("CC"), fieldtype:"Data", fieldname:"cc", length:524288},
{label:__("Standard Reply"), fieldtype:"Link", options:"Standard Reply",
fieldname:"standard_reply"},
{fieldtype: "Section Break"},
{label:__("Subject"), fieldtype:"Data", reqd: 1,
fieldname:"subject",length:524288},
fieldname:"subject", length:524288},
{fieldtype: "Section Break"},
{label:__("Message"), fieldtype:"Text Editor", reqd: 1,
fieldname:"content"},


Načítá se…
Zrušit
Uložit