Skip to content

Commit

Permalink
Merge pull request #30134 from nextcloud/fix/noid/file-action-view-in…
Browse files Browse the repository at this point in the history
…-folder

Do not trigger events when setting active view in gotoplugin
  • Loading branch information
Julien Veyssier authored Dec 7, 2021
2 parents ee1fe51 + f170229 commit 2594d9e
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 @@ -46,7 +46,7 @@
actionHandler: function (fileName, context) {
var fileModel = context.fileInfoModel;
OC.Apps.hideAppSidebar($('.detailsView'));
OCA.Files.App.setActiveView('files');
OCA.Files.App.setActiveView('files', { silent: true });
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 2594d9e

Please sign in to comment.