Renamed mail_body and html_body placeholders. fixes #164
This commit is contained in:
parent
65aa865ff6
commit
0f8f45f8ed
3 changed files with 10 additions and 10 deletions
|
|
@ -591,11 +591,11 @@
|
|||
"message": "In case of login issues in the ThunderAI window, open ChatGPT in a new tab using the button on the right, log in, then close the tab and continue using ThunderAI.",
|
||||
"description": ""
|
||||
},
|
||||
"placeholder_mail_body": {
|
||||
"placeholder_mail_text_body": {
|
||||
"message": "Mail body",
|
||||
"description": ""
|
||||
},
|
||||
"placeholder_html_body": {
|
||||
"placeholder_mail_html_body": {
|
||||
"message": "HTML mail body",
|
||||
"description": ""
|
||||
},
|
||||
|
|
|
|||
|
|
@ -126,11 +126,11 @@ export class mzta_Menus {
|
|||
let curr_message = curr_messages.messages[0];
|
||||
for(let currPH of currPHs){
|
||||
switch(currPH.id){
|
||||
case 'mail_body':
|
||||
finalSubs['mail_body'] = body_text;
|
||||
case 'mail_text_body':
|
||||
finalSubs['mail_text_body'] = body_text;
|
||||
break;
|
||||
case 'html_body':
|
||||
finalSubs['html_body'] = msg_text.html;
|
||||
case 'mail_html_body':
|
||||
finalSubs['mail_html_body'] = msg_text.html;
|
||||
break;
|
||||
case 'mail_subject':
|
||||
let mail_subject = await getMailSubject(tabs[0]);
|
||||
|
|
|
|||
|
|
@ -34,15 +34,15 @@
|
|||
|
||||
const defaultPlaceholders = [
|
||||
{
|
||||
id: 'mail_body',
|
||||
name: "__MSG_placeholder_mail_body__",
|
||||
id: 'mail_text_body',
|
||||
name: "__MSG_placeholder_mail_text_body__",
|
||||
default_value: "",
|
||||
type: 0,
|
||||
is_default: "1",
|
||||
},
|
||||
{
|
||||
id: 'html_body',
|
||||
name: "__MSG_placeholder_html_body__",
|
||||
id: 'mail_html_body',
|
||||
name: "__MSG_placeholder_mail_html_body__",
|
||||
default_value: "",
|
||||
type: 0,
|
||||
is_default: "1",
|
||||
|
|
|
|||
Loading…
Reference in a new issue