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
committerJulien Veyssier <eneiluj@posteo.net>2021-12-07 16:34:48 +0300
commitf17022997660c475527be91084ea9fda454a134a (patch)
tree0c182aa832e0f87799870b41e9979625adcb80c8 /apps/files/js
parentee1fe51f88632c5a57a9ff2b1968a76cc81d2d18 (diff)
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 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'));
});