mirror of
				https://github.com/pierre42100/ComunicWeb
				synced 2025-11-04 04:04:20 +00:00 
			
		
		
		
	Reload post after update
This commit is contained in:
		@@ -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;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user