v1.18.x
barisusakli 9 years ago
parent 1a43b3482c
commit f084ff9a54

@ -126,8 +126,6 @@ define('forum/topic/events', [
posts.unloadImages(editedPostEl.parent()); posts.unloadImages(editedPostEl.parent());
posts.loadImages(); posts.loadImages();
editedPostEl.fadeIn(250); editedPostEl.fadeIn(250);
$(window).trigger('action:posts.edited', data);
});
var editData = { var editData = {
editor: data.editor, editor: data.editor,
@ -139,6 +137,8 @@ define('forum/topic/events', [
html = $(translated); html = $(translated);
editorEl.replaceWith(html); editorEl.replaceWith(html);
html.find('.timeago').timeago(); html.find('.timeago').timeago();
$(window).trigger('action:posts.edited', data);
});
}); });
}); });

Loading…
Cancel
Save