Merge pull request #19270 from owncloud/files-sidebar-fixfortrashandco
Properly show sidebar for trash and sharing sections
This commit is contained in:
commit
9fbd3fa6c1
|
@ -84,7 +84,7 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
_onClose: function(event) {
|
_onClose: function(event) {
|
||||||
OC.Apps.hideAppSidebar();
|
OC.Apps.hideAppSidebar(this.$el);
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -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);
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue