diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2020-11-02 20:23:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-02 20:23:28 +0100 |
commit | 65375320fb94fe3b7d0aaaecc9e66b7458ed6c1a (patch) | |
tree | b552087a7459b1ffa665585b3a023ad17afaa1ff | |
parent | 2d67cb9510de4a296f4d783071f06329efb2218d (diff) | |
parent | b4107c3442da31bfa3add4daede9a6bbcc8eb028 (diff) | |
download | nextcloud-server-65375320fb94fe3b7d0aaaecc9e66b7458ed6c1a.tar.gz nextcloud-server-65375320fb94fe3b7d0aaaecc9e66b7458ed6c1a.zip |
Merge pull request #23841 from nextcloud/filepicker-empty-list
ensure filepicker list is empty before populating
-rw-r--r-- | core/src/OC/dialogs.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/src/OC/dialogs.js b/core/src/OC/dialogs.js index e7e5ca4d310..df0794711f1 100644 --- a/core/src/OC/dialogs.js +++ b/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 |