mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 08:16:43 -04:00
Merge pull request #23841 from nextcloud/filepicker-empty-list
ensure filepicker list is empty before populating
This commit is contained in:
commit
65375320fb
1 changed files with 2 additions and 0 deletions
|
|
@ -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 a new issue