Commit d33948d4 authored by Kevin Ditscheid's avatar Kevin Ditscheid
Browse files

[BUGFIX] Fix wrong language constant in backend JS

parent 9a781315
......@@ -33,7 +33,7 @@ define([
resetTemplateListener: function(_event) {
_event.preventDefault();
var confirm = TYPO3.lang.SgMail['backend.delete_template'];
var confirm = TYPO3.lang['backend.delete_template'];
if (window.confirm(confirm)) {
window.location = $(_event.currentTarget).attr('href');
}
......@@ -41,7 +41,7 @@ define([
deleteTemplateListener: function(_event) {
_event.preventDefault();
var confirm = TYPO3.lang.SgMail['backend.delete_template_custom'];
var confirm = TYPO3.lang['backend.delete_template_custom'];
if (window.confirm(confirm)) {
window.location = $(_event.currentTarget).attr('href');
}
......@@ -49,7 +49,7 @@ define([
sendMailListener: function(_event) {
_event.preventDefault();
var confirm = TYPO3.lang.SgMail['backend.send_mail_manually'];
var confirm = TYPO3.lang['backend.send_mail_manually'];
if (window.confirm(confirm)) {
window.location = $(_event.currentTarget).attr('href');
}
......@@ -57,7 +57,7 @@ define([
resendMailListener: function(_event) {
_event.preventDefault();
var confirm = TYPO3.lang.SgMail['backend.send_mail_again'];
var confirm = TYPO3.lang['backend.send_mail_again'];
if (window.confirm(confirm)) {
window.location = $(_event.currentTarget).attr('href');
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment