Merge pull request #19270 from owncloud/files-sidebar-fixfortrashandco

Properly show sidebar for trash and sharing sections
This commit is contained in:
Thomas Müller 2015-09-22 23:53:15 +02:00
commit 9fbd3fa6c1
2 changed files with 3 additions and 3 deletions

View File

@ -84,7 +84,7 @@
}, },
_onClose: function(event) { _onClose: function(event) {
OC.Apps.hideAppSidebar(); OC.Apps.hideAppSidebar(this.$el);
event.preventDefault(); event.preventDefault();
}, },

View File

@ -306,7 +306,7 @@
permissions: OC.PERMISSION_READ, permissions: OC.PERMISSION_READ,
actionHandler: function(fileName, context) { actionHandler: function(fileName, context) {
self._updateDetailsView(fileName); self._updateDetailsView(fileName);
OC.Apps.showAppSidebar(); OC.Apps.showAppSidebar(self._detailsView.$el);
} }
}); });
} }
@ -381,7 +381,7 @@
if (tabId) { if (tabId) {
this._detailsView.selectTab(tabId); this._detailsView.selectTab(tabId);
} }
OC.Apps.showAppSidebar(); OC.Apps.showAppSidebar(this._detailsView.$el);
}, },
/** /**