]> source.dussan.org Git - nextcloud-server.git/commitdiff
do not trigger events when setting active view in gotoplugin 30136/head
authorJulien Veyssier <eneiluj@posteo.net>
Tue, 7 Dec 2021 13:34:48 +0000 (14:34 +0100)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Tue, 7 Dec 2021 14:38:22 +0000 (14:38 +0000)
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
apps/files/js/gotoplugin.js

index f02fcc6e4dc5edc0d1479ef4abd11c1ff4adb6a2..474acdab5872ad395f0df9783b7ce47c989ed953 100644 (file)
@@ -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'));
                                        });