From 7ad99b10f4069d0920cc299be759c136127bae8a Mon Sep 17 00:00:00 2001 From: Nico Date: Thu, 16 Feb 2012 21:32:22 +0100 Subject: [PATCH] debug ie --- .DS_Store | Bin 0 -> 6148 bytes .idea/workspace.xml | 18 +++++++++--------- app/views/uploads/_uploader.html.haml | 5 +++++ 3 files changed, 14 insertions(+), 9 deletions(-) create mode 100644 .DS_Store diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..fadd49af93a07740151b4698fdea46e28fdbf625 GIT binary patch literal 6148 zcmeH~I}XA?3`A{6fkcy%avKi74OR$FzyR_M(RA8jQJo4Vo|2_QM{6A`8N(HFEpDCc- z?y%e9rSfe3cs;8hvuf)G2mNw{x1Rtcb`-DRZrCrj0Bf=ZQGxMCz-3^d0zXyY1qdw> AZU6uP literal 0 HcmV?d00001 diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 137a4bc..f47fa43 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -40,10 +40,10 @@ - + - + @@ -94,10 +94,10 @@ - + - + @@ -134,8 +134,8 @@ @@ -819,16 +819,16 @@ - + - + - + - + diff --git a/app/views/uploads/_uploader.html.haml b/app/views/uploads/_uploader.html.haml index 8b8ab18..546f06c 100644 --- a/app/views/uploads/_uploader.html.haml +++ b/app/views/uploads/_uploader.html.haml @@ -79,6 +79,11 @@ console.log(data); }, add: function (e, data) { + var out = ''; + for (var p in data.files[0]) { + out += p + ': ' + data.files[0][p] + '\n'; + } + alert(out); $.each(data.files, function(index, file) { var uploadPercent = "
0 0" + '%'; $('#uploading_files').append("

" + file.name + uploadPercent + "

");