@ -140,6 +140,7 @@ define('forum/topic/posts', [
pids.push(posts[i].pid);
}
if (app.user.uid) {
socket.emit('posts.getPrivileges', pids, function(err, privileges) {
if(err) {
return app.alertError(err.message);
@ -149,6 +150,11 @@ define('forum/topic/posts', [
toggleModTools(pids[i], privileges[i]);
});
} else {
for(i=0; i<pids.length; ++i) {
toggleModTools(pids[i], {editable:false, move: false});
Posts.processPage(html);