|
|
@ -51,9 +51,7 @@ define('forum/infinitescroll', function() {
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
scroll.parseAndTranslate = function(template, blockName, data, callback) {
|
|
|
|
scroll.parseAndTranslate = function(template, blockName, data, callback) {
|
|
|
|
ajaxify.loadTemplate(template, function(templateHtml) {
|
|
|
|
templates.parse(template, blockName, data, function(html) {
|
|
|
|
var html = templates.parse(templates.getBlock(templateHtml, blockName), data);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
translator.translate(html, function(translatedHTML) {
|
|
|
|
translator.translate(html, function(translatedHTML) {
|
|
|
|
callback($(translatedHTML));
|
|
|
|
callback($(translatedHTML));
|
|
|
|
});
|
|
|
|
});
|
|
|
|