Skip to content

Commit

Permalink
debug ie
Browse files Browse the repository at this point in the history
  • Loading branch information
Nico committed Feb 16, 2012
1 parent 691f7e3 commit 7ad99b1
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 9 deletions.
Binary file added .DS_Store
Binary file not shown.
18 changes: 9 additions & 9 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions app/views/uploads/_uploader.html.haml
Expand Up @@ -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 = "<br/><progress value='0' max='100' class='upload_progress_bar'>0</progress> <span class='upload_percentage'>0</span>" + '%';
$('#uploading_files').append("<p class='uploading_file'>" + file.name + uploadPercent + "</p>");
Expand Down

0 comments on commit 7ad99b1

Please sign in to comment.