From 08773a19b3e1db23f5afa3579cc17ef2c8705377 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:28:07 +0100
Subject: [PATCH] =?UTF-8?q?irsteaFileUpload:=20la=20taille=20du=20fichier?=
 =?UTF-8?q?=20doit=20=C3=AAtre=20affich=C3=A9e=20avec=20.html.?=
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 a762e9ea..c060a609 100644
--- a/Resources/js/widget/file_upload.js
+++ b/Resources/js/widget/file_upload.js
@@ -70,7 +70,7 @@
                     $.each(data.files, function (index, file) {
                         var row = $(uploadPrototype);
                         row.find('.name').text(file.name);
-                        row.find('.size').text(formatSize(file.size));
+                        row.find('.size').html(formatSize(file.size));
                         if (file.error) {
                             row.find('.error').text(file.error);
                         }
-- 
GitLab