Added data argument to action:posts.edited hook

v1.18.x
Mega 10 years ago
parent c16689503d
commit 2f19f4106a

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

Loading…
Cancel
Save