ensure filepicker list is empty before populating
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
ff08b10a89
commit
b4107c3442
|
@ -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…
Reference in New Issue