From c406a14fdb242f92a7cfc48e52a39b8f0718eb1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6?= Date: Fri, 17 Sep 2021 10:42:09 +0200 Subject: [PATCH] Fix files view change and undefined currentFileList MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ --- apps/files/js/gotoplugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/files/js/gotoplugin.js b/apps/files/js/gotoplugin.js index d686c7850cfb2..f02fcc6e4dc5e 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', {silent: true}); + OCA.Files.App.setActiveView('files'); OCA.Files.App.fileList.changeDirectory(fileModel.get('path'), true, true).then(function() { OCA.Files.App.fileList.scrollTo(fileModel.get('name')); });