Unlock send button of create post form in case of failure.

This commit is contained in:
Pierre 2018-01-06 17:25:17 +01:00
parent f7ba871344
commit 9275f3b910

View File

@ -454,6 +454,7 @@ ComunicWeb.components.posts.form = {
//Check for errors
if(result.error){
ComunicWeb.common.notificationSystem.showNotification("An error occured while trying to send a new post !", "danger");
sendButton.disabled = false;
return;
}