mirror of
				https://github.com/pierre42100/ComunicWeb
				synced 2025-11-04 04:04:20 +00:00 
			
		
		
		
	Unlock send button of create post form in case of failure.
This commit is contained in:
		@@ -454,6 +454,7 @@ ComunicWeb.components.posts.form = {
 | 
				
			|||||||
				//Check for errors
 | 
									//Check for errors
 | 
				
			||||||
				if(result.error){
 | 
									if(result.error){
 | 
				
			||||||
					ComunicWeb.common.notificationSystem.showNotification("An error occured while trying to send a new post !", "danger");
 | 
										ComunicWeb.common.notificationSystem.showNotification("An error occured while trying to send a new post !", "danger");
 | 
				
			||||||
 | 
										sendButton.disabled = false;
 | 
				
			||||||
					return;
 | 
										return;
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user