diff options
author | Vincent Petry <pvince81@owncloud.com> | 2015-08-25 14:57:41 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2015-08-25 14:57:41 +0200 |
commit | 1dc9283413dd5547d6b2080efbd33e0ce1f383d3 (patch) | |
tree | f26faf2632c8bb2fe4ad965492bf07aead02bb30 /apps/files/js/filelist.js | |
parent | 494c1d741798874c865b76fcf6918c978f944257 (diff) | |
parent | 010c03fc30a6d5d1765889431905dc415d289018 (diff) | |
download | nextcloud-server-1dc9283413dd5547d6b2080efbd33e0ce1f383d3.tar.gz nextcloud-server-1dc9283413dd5547d6b2080efbd33e0ce1f383d3.zip |
Merge pull request #18538 from owncloud/sidebar-improvements
Fix sidebar for trashbin and others
Diffstat (limited to 'apps/files/js/filelist.js')
-rw-r--r-- | apps/files/js/filelist.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index e294e2f3c09..ac96d587015 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -339,7 +339,7 @@ } if (!fileName) { - OC.Apps.hideAppSidebar(); + OC.Apps.hideAppSidebar(this._detailsView.$el); this._detailsView.setFileInfo(null); this._currentFileModel = null; return; @@ -354,7 +354,7 @@ this._detailsView.setFileInfo(model); this._detailsView.$el.scrollTop(0); - _.defer(OC.Apps.showAppSidebar); + _.defer(OC.Apps.showAppSidebar, this._detailsView.$el); }, /** |