summaryrefslogtreecommitdiffstats
path: root/apps/files/js/gotoplugin.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/js/gotoplugin.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 474acdab587..ca1823697c4 100644
--- a/apps/files/js/gotoplugin.js
+++ b/apps/files/js/gotoplugin.js
@@ -45,7 +45,7 @@
type: OCA.Files.FileActions.TYPE_DROPDOWN,
actionHandler: function (fileName, context) {
var fileModel = context.fileInfoModel;
- OC.Apps.hideAppSidebar($('.detailsView'));
+ OCA.Files.Sidebar.close();
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'));