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.",
|
"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": ""
|
"description": ""
|
||||||
},
|
},
|
||||||
"placeholder_mail_body": {
|
"placeholder_mail_text_body": {
|
||||||
"message": "Mail body",
|
"message": "Mail body",
|
||||||
"description": ""
|
"description": ""
|
||||||
},
|
},
|
||||||
"placeholder_html_body": {
|
"placeholder_mail_html_body": {
|
||||||
"message": "HTML mail body",
|
"message": "HTML mail body",
|
||||||
"description": ""
|
"description": ""
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -126,11 +126,11 @@ export class mzta_Menus {
|
||||||
let curr_message = curr_messages.messages[0];
|
let curr_message = curr_messages.messages[0];
|
||||||
for(let currPH of currPHs){
|
for(let currPH of currPHs){
|
||||||
switch(currPH.id){
|
switch(currPH.id){
|
||||||
case 'mail_body':
|
case 'mail_text_body':
|
||||||
finalSubs['mail_body'] = body_text;
|
finalSubs['mail_text_body'] = body_text;
|
||||||
break;
|
break;
|
||||||
case 'html_body':
|
case 'mail_html_body':
|
||||||
finalSubs['html_body'] = msg_text.html;
|
finalSubs['mail_html_body'] = msg_text.html;
|
||||||
break;
|
break;
|
||||||
case 'mail_subject':
|
case 'mail_subject':
|
||||||
let mail_subject = await getMailSubject(tabs[0]);
|
let mail_subject = await getMailSubject(tabs[0]);
|
||||||
|
|
|
||||||
|
|
@ -34,15 +34,15 @@
|
||||||
|
|
||||||
const defaultPlaceholders = [
|
const defaultPlaceholders = [
|
||||||
{
|
{
|
||||||
id: 'mail_body',
|
id: 'mail_text_body',
|
||||||
name: "__MSG_placeholder_mail_body__",
|
name: "__MSG_placeholder_mail_text_body__",
|
||||||
default_value: "",
|
default_value: "",
|
||||||
type: 0,
|
type: 0,
|
||||||
is_default: "1",
|
is_default: "1",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'html_body',
|
id: 'mail_html_body',
|
||||||
name: "__MSG_placeholder_html_body__",
|
name: "__MSG_placeholder_mail_html_body__",
|
||||||
default_value: "",
|
default_value: "",
|
||||||
type: 0,
|
type: 0,
|
||||||
is_default: "1",
|
is_default: "1",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue