mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 08:16:43 -04:00
Merge pull request #28879 from nextcloud/backport/28872/stable21
[stable21] Fix files view change and undefined currentFileList
This commit is contained in:
commit
05067c52f9
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@
|
|||
actionHandler: function (fileName, context) {
|
||||
var fileModel = context.fileInfoModel;
|
||||
OC.Apps.hideAppSidebar($('.detailsView'));
|
||||
OCA.Files.App.setActiveView('files', {silent: true});
|
||||
OCA.Files.App.setActiveView('files');
|
||||
OCA.Files.App.fileList.changeDirectory(fileModel.get('path'), true, true).then(function() {
|
||||
OCA.Files.App.fileList.scrollTo(fileModel.get('name'));
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue