Browse Source

Display the uploaded file in the HTTP interface

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
Romain Goyet 12 years ago
parent
commit
5bc9ebc708
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Resources/web/index.html

+ 1 - 1
Resources/web/index.html

@@ -14,7 +14,7 @@
         $('#fileupload').fileupload({
           dataType: 'json',
           done: function (e, data) {
-            $.each(data.result.files, function (index, file) {
+            $.each(data.files, function (index, file) {
               $('<p/>').text(file.name).appendTo(document.body);
             });
           },