diff options
-rw-r--r-- | apps/files/js/detailsview.js | 2 | ||||
-rw-r--r-- | apps/files/js/filelist.js | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/files/js/detailsview.js b/apps/files/js/detailsview.js index 3a775c29ec6..b01f9cea610 100644 --- a/apps/files/js/detailsview.js +++ b/apps/files/js/detailsview.js @@ -84,7 +84,7 @@ }, _onClose: function(event) { - OC.Apps.hideAppSidebar(); + OC.Apps.hideAppSidebar(this.$el); event.preventDefault(); }, diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 2af5be73d96..151c70bfce1 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -305,7 +305,7 @@ permissions: OC.PERMISSION_READ, actionHandler: function(fileName, context) { self._updateDetailsView(fileName); - OC.Apps.showAppSidebar(); + OC.Apps.showAppSidebar(self._detailsView.$el); } }); } @@ -380,7 +380,7 @@ if (tabId) { this._detailsView.selectTab(tabId); } - OC.Apps.showAppSidebar(); + OC.Apps.showAppSidebar(this._detailsView.$el); }, /** |