mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-26 05:49:22 +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
|
//Display success
|
||||||
ComunicWeb.common.notificationSystem.showNotification("The post has been updated !", "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;
|
closeModalBtn.onclick = callback;
|
||||||
|
Loading…
Reference in New Issue
Block a user