diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-09-16 09:40:53 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-09-16 09:40:53 +0200 |
commit | afc7eeacaffac3034f34c880597f6655ce1bfc25 (patch) | |
tree | b73fe9b5427453814a6244b85201fc84b3e0879a /apps/files | |
parent | af517103b11b05e57fcdb35706c63783e3f475f9 (diff) | |
parent | e7e0cfe93d1e7050f35a4b78c9fc70dbe32ec397 (diff) | |
download | nextcloud-server-afc7eeacaffac3034f34c880597f6655ce1bfc25.tar.gz nextcloud-server-afc7eeacaffac3034f34c880597f6655ce1bfc25.zip |
Merge pull request #18185 from owncloud/share-dialog-files-sidebar
Share dialog files sidebar
Diffstat (limited to 'apps/files')
-rw-r--r-- | apps/files/js/filelist.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 194c658e3a1..23834fa44de 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -368,6 +368,21 @@ }, /** + * Displays the details view for the given file and + * selects the given tab + * + * @param {string} fileName file name for which to show details + * @param {string} [tabId] optional tab id to select + */ + showDetailsView: function(fileName, tabId) { + this._updateDetailsView(fileName); + if (tabId) { + this._detailsView.selectTab(tabId); + } + OC.Apps.showAppSidebar(); + }, + + /** * Update the details view to display the given file * * @param {string} fileName file name from the current list |