mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Fix bugs with incorrect currentFileList in the favorite and share by you
view This was causing bugs when trying to create new template in this views Signed-off-by: Carl Schwan <carl@carlschwan.eu>
This commit is contained in:
parent
a0b80da378
commit
44c9b2de8b
1 changed files with 6 additions and 0 deletions
|
|
@ -2294,6 +2294,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 = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue