From 3308bf696cd9250e292869a7465c1764c9a39940 Mon Sep 17 00:00:00 2001 From: Situphen Date: Mon, 20 Jan 2020 19:24:38 +0100 Subject: [PATCH] (EasyMDE) Corrige l'envoi des formulaires avec l'attribut "required" --- assets/js/editor.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/assets/js/editor.js b/assets/js/editor.js index 72109c51da..e513179cb7 100644 --- a/assets/js/editor.js +++ b/assets/js/editor.js @@ -648,5 +648,7 @@ easyMDE.codemirror.addKeyMap({ "Cmd-Enter": submit }) + + this.removeAttribute("required"); }); })(jQuery);