ensure filepicker list is empty before populating

Signed-off-by: Robin Appelman <robin@icewind.nl>
pull/23841/head
Robin Appelman 5 years ago
parent ff08b10a89
commit b4107c3442
No known key found for this signature in database
GPG Key ID: 42B69D8A64526EFB
  1. 2
      core/src/OC/dialogs.js

@ -1164,6 +1164,8 @@ const Dialogs = {
self.$fileListHeader.show()
}
self.$filelist.empty();
$.each(files, function(idx, entry) {
entry.icon = OC.MimeType.getIconUrl(entry.mimetype)
var simpleSize, sizeColor

Loading…
Cancel
Save