Skip to content

Commit

Permalink
Merge pull request #28879 from nextcloud/backport/28872/stable21
Browse files Browse the repository at this point in the history
[stable21] Fix files view change and undefined currentFileList
  • Loading branch information
MichaIng authored Sep 18, 2021
2 parents 021d5ab + cb30254 commit 05067c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/files/js/gotoplugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'));
});
Expand Down

0 comments on commit 05067c5

Please sign in to comment.