Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Veyssier <eneiluj@posteo.net>2021-12-07 16:34:48 +0300
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2021-12-07 17:43:02 +0300
commit35ce61a991712489e6e58a61f04fca6dd1eba42d (patch)
treef1cf2f8594fd756a8bb45fb6238a3895478dbda0 /apps/files
parent3d8a61005154506891b1d49aebe6078701623544 (diff)
do not trigger events when setting active view in gotoplugin
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Diffstat (limited to 'apps/files')
-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'));
});