upgraded categories to sorted set, score is the order set from acp, check if category topic exists before posting

This commit is contained in:
Baris Soner Usakli
2014-02-22 18:56:37 -05:00
parent d6d9776cde
commit 6e5a6b8784
9 changed files with 129 additions and 56 deletions

View File

@@ -736,7 +736,7 @@ define(['taskbar'], function(taskbar) {
}, done);
} else if (parseInt(postData.tid, 10) > 0) {
socket.emit('posts.reply', {
topic_id: postData.tid,
tid: postData.tid,
content: bodyEl.val(),
toPid: postData.toPid
}, done);