Change argument in action:posts.loaded

v1.18.x
Mega 10 years ago
parent 79083004e4
commit df0e924714

@ -59,7 +59,7 @@ define('forum/home', function() {
recentPosts.last().remove();
}
$(window).trigger('action:posts.loaded');
$(window).trigger('action:posts.loaded', {pids: [post.pid]});
});
}

@ -130,7 +130,7 @@ define('forum/topic/posts', [
pids.push(data.posts[i].pid);
}
$(window).trigger('action:posts.loaded', pids);
$(window).trigger('action:posts.loaded', {pids: pids});
onNewPostsLoaded(html, pids);
callback(true);
});

Loading…
Cancel
Save