mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 22:45:46 +01:00
more post fixes
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user