From 9275f3b91076cdfed83cc3cd305f9ba03362d1c2 Mon Sep 17 00:00:00 2001 From: Pierre Date: Sat, 6 Jan 2018 17:25:17 +0100 Subject: [PATCH] Unlock send button of create post form in case of failure. --- assets/js/components/posts/form.js | 1 + 1 file changed, 1 insertion(+) diff --git a/assets/js/components/posts/form.js b/assets/js/components/posts/form.js index 170bf12f..18a314b0 100644 --- a/assets/js/components/posts/form.js +++ b/assets/js/components/posts/form.js @@ -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; }