Skip to content

Commit e7e9a70

Browse files
icewind1991backportbot[bot]
authored andcommitted
ensure filepicker list is empty before populating
Signed-off-by: Robin Appelman <[email protected]>
1 parent 7e1c26e commit e7e9a70

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

core/src/OC/dialogs.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1164,6 +1164,8 @@ const Dialogs = {
11641164
self.$fileListHeader.show()
11651165
}
11661166

1167+
self.$filelist.empty();
1168+
11671169
$.each(files, function(idx, entry) {
11681170
entry.icon = OC.MimeType.getIconUrl(entry.mimetype)
11691171
var simpleSize, sizeColor

0 commit comments

Comments
 (0)