Merge pull request #28880 from nextcloud/backport/28872/stable20

[stable20] Fix files view change and undefined currentFileList
pull/28886/head
MichaIng 3 years ago committed by GitHub
commit b594b619bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save