aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJulien Veyssier <eneiluj@posteo.net>2021-12-07 15:35:44 +0100
committerGitHub <noreply@github.com>2021-12-07 15:35:44 +0100
commit2594d9ec356169d747478afeef7e4c300698f8af (patch)
tree0c182aa832e0f87799870b41e9979625adcb80c8 /apps
parentee1fe51f88632c5a57a9ff2b1968a76cc81d2d18 (diff)
parentf17022997660c475527be91084ea9fda454a134a (diff)
downloadnextcloud-server-2594d9ec356169d747478afeef7e4c300698f8af.tar.gz
nextcloud-server-2594d9ec356169d747478afeef7e4c300698f8af.zip
Merge pull request #30134 from nextcloud/fix/noid/file-action-view-in-folder
Do not trigger events when setting active view in gotoplugin
Diffstat (limited to 'apps')
-rw-r--r--apps/files/js/gotoplugin.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/gotoplugin.js b/apps/files/js/gotoplugin.js
index f02fcc6e4dc..474acdab587 100644
--- a/apps/files/js/gotoplugin.js
+++ b/apps/files/js/gotoplugin.js
@@ -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'));
});