mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-29 15:26:27 +00:00
Reload post after update
This commit is contained in:
parent
b8a2e87991
commit
9edddaf2ca
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user