fixes infinite scroll on account pages

This commit is contained in:
barisusakli
2014-05-08 22:44:29 -04:00
parent 2dd2d7a269
commit c2fb4700de
3 changed files with 3 additions and 3 deletions

View File

@@ -33,7 +33,7 @@ define(['forum/account/header'], function(header) {
}
function onTopicsLoaded(posts) {
ajaxify.loadTemplate('favourites', function(favouritesTemplate) {
ajaxify.loadTemplate('account/favourites', function(favouritesTemplate) {
var html = templates.parse(templates.getBlock(favouritesTemplate, 'posts'), {posts: posts});
translator.translate(html, function(translatedHTML) {

View File

@@ -38,7 +38,7 @@ define(['forum/account/header'], function(header) {
}
function onPostsLoaded(posts) {
ajaxify.loadTemplate('accountposts', function(accountposts) {
ajaxify.loadTemplate('account/posts', function(accountposts) {
var html = templates.parse(templates.getBlock(accountposts, 'posts'), {posts: posts});
translator.translate(html, function(translatedHTML) {

View File

@@ -36,7 +36,7 @@ define(['forum/account/header'], function(header) {
}
function onTopicsLoaded(topics) {
ajaxify.loadTemplate('accounttopics', function(accounttopics) {
ajaxify.loadTemplate('account/topics', function(accounttopics) {
var html = templates.parse(templates.getBlock(accounttopics, 'topics'), {topics: topics});
translator.translate(html, function(translatedHTML) {