mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-02-12 01:27:38 +01:00
Added data argument to action:posts.edited hook
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user