aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2021-09-17 10:42:09 +0200
committerJohn Molakvoæ <skjnldsv@protonmail.com>2021-09-17 10:42:09 +0200
commitf7811352157126c508102f90fa515fb2b2853ebf (patch)
tree2fddb5470ac6d6a43655ab3fb754443bb45577df /apps/files/js
parent62a814f4fbdec485e97e6b55a8320a02ced488bb (diff)
downloadnextcloud-server-f7811352157126c508102f90fa515fb2b2853ebf.tar.gz
nextcloud-server-f7811352157126c508102f90fa515fb2b2853ebf.zip
Fix files view change and undefined currentFileList
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
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 d686c7850cf..f02fcc6e4dc 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'));
});