summaryrefslogtreecommitdiffstats
path: root/apps/files/js
diff options
context:
space:
mode:
authorJulien Veyssier <eneiluj@posteo.net>2021-12-07 14:34:48 +0100
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2021-12-07 14:47:47 +0000
commit1f08556e47d01d00d322c675e72427d3d11333ae (patch)
tree0c39ee8514c7412ded04e44563c6d6599d05979c /apps/files/js
parente653cd2d7baf04e66f37a573afacd6a06b003ec4 (diff)
downloadnextcloud-server-1f08556e47d01d00d322c675e72427d3d11333ae.tar.gz
nextcloud-server-1f08556e47d01d00d322c675e72427d3d11333ae.zip
do not trigger events when setting active view in gotoplugin
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Diffstat (limited to 'apps/files/js')
-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 d0fea0e35b1..933c8b01275 100644
--- a/apps/files/js/gotoplugin.js
+++ b/apps/files/js/gotoplugin.js
@@ -41,7 +41,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'));
});