From 3c23db6190ac5dcc5f0efe0f4785417e0faad3b7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Guillaume=20Perr=C3=A9al?= <guillaume.perreal@irstea.fr>
Date: Thu, 22 Jan 2015 14:27:34 +0100
Subject: [PATCH] =?UTF-8?q?irsteaFileUpload:=20utilise=20fileupload=20sur?=
 =?UTF-8?q?=20le=20bouton=20pour=20=C3=A9viter=20qu'il=20r=C3=A9cup=C3=A8r?=
 =?UTF-8?q?e=20les=20attributs=20data-*.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 Resources/js/widget/file_upload.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Resources/js/widget/file_upload.js b/Resources/js/widget/file_upload.js
index 7e761034..a762e9ea 100644
--- a/Resources/js/widget/file_upload.js
+++ b/Resources/js/widget/file_upload.js
@@ -54,7 +54,7 @@
         updateButtonVisibility();
 
         // Activation
-        $this.fileupload($.extend(
+        $button.fileupload($.extend(
             options,
             {
                 type: 'PUT',
-- 
GitLab