Use translation for the personal information 'delete' button.

This commit is contained in:
oxteam 2018-07-12 12:47:35 +02:00
parent 7b20616559
commit 064b0580fb

View file

@ -384,7 +384,7 @@ window.FrontendBook = window.FrontendBook || {};
$('#delete-personal-information').on('click', function () { $('#delete-personal-information').on('click', function () {
var buttons = [ var buttons = [
{ {
text: 'Delete', text: EALang.delete,
click: function () { click: function () {
FrontendBookApi.deletePersonalInformation(GlobalVariables.customerToken); FrontendBookApi.deletePersonalInformation(GlobalVariables.customerToken);
} }