Merge pull request #23850 from nextcloud/backport/23841/stable20
[stable20] ensure filepicker list is empty before populating
This commit is contained in:
commit
cb31977ba6
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -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