Properly show sidebar for trash and sharing sections

This commit is contained in:
Vincent Petry 2015-09-22 15:28:48 +02:00
parent 762e7c3dd9
commit fa725fba73
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -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);
},
/**