From c16689503d2eee42ecff5418a98457b5d7c4a1e5 Mon Sep 17 00:00:00 2001 From: Mega Date: Sat, 31 Jan 2015 15:34:40 +0300 Subject: [PATCH] Added as argument post id in action:posts.edited --- public/src/client/topic/events.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/client/topic/events.js b/public/src/client/topic/events.js index 90f54ec064..0990be01c6 100644 --- a/public/src/client/topic/events.js +++ b/public/src/client/topic/events.js @@ -111,7 +111,7 @@ define('forum/topic/events', [ app.replaceSelfLinks(editedPostEl.find('a')); editedPostEl.fadeIn(250); - $(window).trigger('action:posts.edited'); + $(window).trigger('action:posts.edited', data.pid); }); if (data.tags && tagsUpdated(data.tags)) {