diff --git a/assets/js/components/posts/edit.js b/assets/js/components/posts/edit.js index 159a31ed..20e6349c 100644 --- a/assets/js/components/posts/edit.js +++ b/assets/js/components/posts/edit.js @@ -149,6 +149,12 @@ ComunicWeb.components.posts.edit = { //Display success ComunicWeb.common.notificationSystem.showNotification("The post has been updated !", "success"); + //Reload post + ComunicWeb.components.posts.actions.reload_post(infos.ID, root); + + //Close the modal + closeModal(); + }); } closeModalBtn.onclick = callback;