v1.18.x
Barış Soner Uşaklı 7 years ago
parent f6fdf27b14
commit 8ed86aaf13

@ -182,7 +182,7 @@ $(document).ready(function () {
$(window).trigger('action:ajaxify.loadingTemplates', {});
Benchpress.parse(tpl_url, data, function (template) {
translator.translate(template, function (translatedTemplate) {
translator.translate(template, app.inAdmin ? config.acpLang : config.userLang, function (translatedTemplate) {
translatedTemplate = translator.unescape(translatedTemplate);
$('body').removeClass(previousBodyClass).addClass(data.bodyClass);
$('#content').html(translatedTemplate);

Loading…
Cancel
Save