From 6e8bd4d615e4e74e14de2a0ac37fec2b64537207 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Fri, 26 Sep 2014 11:18:51 -0400 Subject: [PATCH] adding a client-side hook, closes #2159 --- public/src/forum/topic/events.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/src/forum/topic/events.js b/public/src/forum/topic/events.js index ec61a8ff0e..bb50f0d556 100644 --- a/public/src/forum/topic/events.js +++ b/public/src/forum/topic/events.js @@ -102,6 +102,8 @@ define('forum/topic/events', ['forum/topic/browsing', 'forum/topic/postTools', ' editedPostEl.find('img').addClass('img-responsive'); app.replaceSelfLinks(editedPostEl.find('a')); editedPostEl.fadeIn(250); + + $(window).trigger('action:posts.edited'); }); if (data.tags && data.tags.length !== $('.tags').first().children().length) {