diff --git a/apps/files_sharing/js/files_drop.js b/apps/files_sharing/js/files_drop.js index 69465f791d..340f941a71 100644 --- a/apps/files_sharing/js/files_drop.js +++ b/apps/files_sharing/js/files_drop.js @@ -61,7 +61,7 @@ $('#drop-upload-done-indicator').addClass('hidden'); $('#drop-upload-progress-indicator').removeClass('hidden'); - $('#public-upload ul').append(output({isUploading: true, name: data.files[0].name})); + $('#drop-uploaded-files').append(output({isUploading: true, name: data.files[0].name})); $('[data-toggle="tooltip"]').tooltip(); data.submit(); @@ -69,7 +69,7 @@ }, updateFileItem: function (fileName, fileItem) { - $('#public-upload ul li[data-name="' + fileName + '"]').replaceWith(fileItem); + $('#drop-uploaded-files li[data-name="' + fileName + '"]').replaceWith(fileItem); $('[data-toggle="tooltip"]').tooltip(); }, diff --git a/apps/files_sharing/templates/public.php b/apps/files_sharing/templates/public.php index 8c91ff261e..eccdc49bc3 100644 --- a/apps/files_sharing/templates/public.php +++ b/apps/files_sharing/templates/public.php @@ -100,6 +100,7 @@ $maxUploadFilesize = min($upload_max_filesize, $post_max_size); t('Select or drop files')) ?>