more post fixes

This commit is contained in:
Baris Soner Usakli
2014-01-16 22:06:23 -05:00
parent 9e6f7fa960
commit b3816b98a1
8 changed files with 106 additions and 86 deletions

View File

@@ -45,9 +45,10 @@ define(['taskbar'], function(taskbar) {
composer.editPost = function(pid) {
if(allowed()) {
socket.emit('modules.composer.push', {
pid: pid
}, function(err, threadData) {
socket.emit('modules.composer.push', pid, function(err, threadData) {
if(err) {
return app.alertError(err.message);
}
push({
pid: pid,
title: threadData.title,