mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-12-24 01:48:50 +00:00
Unlock send button of create post form in case of failure.
This commit is contained in:
parent
f7ba871344
commit
9275f3b910
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user