diff options
author | Michael Weimann <mail@michael-weimann.eu> | 2018-12-29 11:53:10 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-01-04 11:28:11 +0100 |
commit | 2f0cd40c50fac778c45ac2c00f887876273ee836 (patch) | |
tree | 0c45405e0a328e4c795a37b1efebe9df3756efa2 /apps/files_sharing/js/files_drop.js | |
parent | 07b00cf27580e54bc31e2e56a1b70cdaec32cc79 (diff) | |
download | nextcloud-server-2f0cd40c50fac778c45ac2c00f887876273ee836.tar.gz nextcloud-server-2f0cd40c50fac778c45ac2c00f887876273ee836.zip |
Add the file drop uploaded files element
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
Diffstat (limited to 'apps/files_sharing/js/files_drop.js')
-rw-r--r-- | apps/files_sharing/js/files_drop.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/js/files_drop.js b/apps/files_sharing/js/files_drop.js index 69465f791df..340f941a718 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(); }, |