diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-04-26 17:42:55 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-26 17:42:55 -0300 |
commit | 58fe27f09241cf9c27456259a2168aa326cb8d16 (patch) | |
tree | 5ab886afef45a679aa79920b348a0d38dd0c42fc /apps | |
parent | 313c971bd5dac968087c4990571617c9209d57c9 (diff) | |
parent | 18f46bd47f1402663f83861e724e7108655ed29c (diff) | |
download | nextcloud-server-58fe27f09241cf9c27456259a2168aa326cb8d16.tar.gz nextcloud-server-58fe27f09241cf9c27456259a2168aa326cb8d16.zip |
Merge pull request #4461 from danxuliu/fix-closing-details-view-when-viewing-file-in-folder
Fix details view not closed when viewing a file in its folder
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/js/gotoplugin.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files/js/gotoplugin.js b/apps/files/js/gotoplugin.js index 69ec64b0266..4793420ed2d 100644 --- a/apps/files/js/gotoplugin.js +++ b/apps/files/js/gotoplugin.js @@ -40,6 +40,7 @@ type: OCA.Files.FileActions.TYPE_DROPDOWN, actionHandler: function (fileName, context) { var fileModel = context.fileInfoModel; + OC.Apps.hideAppSidebar($('.detailsView')); 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')); |