fixing quoting that broke with the introduction of the new post window

This commit is contained in:
Julian Lam
2013-06-06 15:56:44 -04:00
parent a09cfd9304
commit 7e55e7b3d2
4 changed files with 18 additions and 15 deletions

View File

@@ -316,6 +316,7 @@ var SocketIO = require('socket.io').listen(global.server, { log:false }),
if (parseInt(data.tid) > 0) {
topics.get_topic(data.tid, uid, function(topicData) {
topicData.tid = data.tid;
if (data.body) topicData.body = data.body;
socket.emit('api:composer.push', topicData);
});
} else if (parseInt(data.cid) > 0) {