Merge pull request #2675 from MegaGM/actionposts.edited

Added data argument to action:posts.edited hook
v1.18.x
Barış Soner Uşaklı 10 years ago
commit a0d70b48db

@ -111,7 +111,7 @@ define('forum/topic/events', [
app.replaceSelfLinks(editedPostEl.find('a')); app.replaceSelfLinks(editedPostEl.find('a'));
editedPostEl.fadeIn(250); editedPostEl.fadeIn(250);
$(window).trigger('action:posts.edited'); $(window).trigger('action:posts.edited', data);
}); });
if (data.tags && tagsUpdated(data.tags)) { if (data.tags && tagsUpdated(data.tags)) {

Loading…
Cancel
Save