Explorar o código

Display the uploaded file in the HTTP interface

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
Romain Goyet %!s(int64=12) %!d(string=hai) anos
pai
achega
5bc9ebc708
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);
             });
           },