From c07c23923034e489488b57cecd92ad9ddc60b265 Mon Sep 17 00:00:00 2001
From: Bertrand Gauthier <bertrand.gauthier@unicaen.fr>
Date: Thu, 29 Aug 2019 14:26:45 +0200
Subject: [PATCH] =?UTF-8?q?Correction=20du=20formulaire=20d'upload=20:=20a?=
 =?UTF-8?q?jout=20de=20la=20classe=20'uploader-submitable'=20sur=20le=20co?=
 =?UTF-8?q?mposant=20CSRF=20pour=20qu'il=20soit=20POST=C3=A9.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../Application/View/Helper/Uploader/script/upload-form.phtml   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/module/Application/src/Application/View/Helper/Uploader/script/upload-form.phtml b/module/Application/src/Application/View/Helper/Uploader/script/upload-form.phtml
index 026e527d0..54e1c0953 100644
--- a/module/Application/src/Application/View/Helper/Uploader/script/upload-form.phtml
+++ b/module/Application/src/Application/View/Helper/Uploader/script/upload-form.phtml
@@ -43,7 +43,7 @@ if ($this->url): ?>
     <?php echo $this->formFile($fileElement) ?>
     <?php echo $this->formElementErrors($fileElement) ?>
 
-    <?php echo $this->formElement($this->form->get('csrf')) ?>
+    <?php echo $this->formElement($this->form->get('csrf')->setAttribute('class', 'uploader-submitable')) ?>
 
     <?php /** @var ElementInterface $element */
     foreach ($this->form->getAddedElements() as $element): ?>
-- 
GitLab