|
|
@ -142,6 +142,7 @@ define('forum/topic/events', [
|
|
|
|
posts.addBlockquoteEllipses(editedPostEl.parent());
|
|
|
|
posts.addBlockquoteEllipses(editedPostEl.parent());
|
|
|
|
editedPostEl.fadeIn(250);
|
|
|
|
editedPostEl.fadeIn(250);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (data.post.edited) {
|
|
|
|
const editData = {
|
|
|
|
const editData = {
|
|
|
|
editor: data.editor,
|
|
|
|
editor: data.editor,
|
|
|
|
editedISO: utils.toISOString(data.post.edited),
|
|
|
|
editedISO: utils.toISOString(data.post.edited),
|
|
|
@ -155,6 +156,7 @@ define('forum/topic/events', [
|
|
|
|
postContainer.find('[component="post/editor"] .timeago').timeago();
|
|
|
|
postContainer.find('[component="post/editor"] .timeago').timeago();
|
|
|
|
hooks.fire('action:posts.edited', data);
|
|
|
|
hooks.fire('action:posts.edited', data);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
hooks.fire('action:posts.edited', data);
|
|
|
|
hooks.fire('action:posts.edited', data);
|
|
|
|