diff options
Diffstat (limited to 'apps/files/js/filelist.js')
-rw-r--r-- | apps/files/js/filelist.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 164f7695434..b2dbcf7fd43 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -2293,6 +2293,12 @@ this.setFiles(result); if (this.dirInfo) { + // Make sure the currentFileList is the current one + // When navigating to the favorite or share with you virtual + // folder, this is not correctly set during the initialisation + // otherwise. + OCA.Files.App && OCA.Files.App.updateCurrentFileList(this); + var newFileId = this.dirInfo.id; // update fileid in URL var params = { |