diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-03-04 12:54:11 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-03-04 12:54:11 +0300 |
commit | 50db096bca3dc08c59b59cba4279c06f6c998a8a (patch) | |
tree | a0048f70b341e0a815a6c41d9c9aee6a6c984124 /js/documents.js | |
parent | 2d91e16fe51bd24d1ec4095212513ea08e766d66 (diff) |
Open sharing sidebar on post message
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'js/documents.js')
-rw-r--r-- | js/documents.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/js/documents.js b/js/documents.js index 6490826e..8e66b90f 100644 --- a/js/documents.js +++ b/js/documents.js @@ -713,6 +713,11 @@ var documentsMain = { return; documentsMain.UI.showRevHistory(documentsMain.fullPath); + } else if (msgId === 'UI_Share') { + if (documentsMain.getFileList()) { + documentsMain.getFileList().showDetailsView(documentsMain.fileName, 'shareTabView'); + parent.OC.Apps.showAppSidebar(); + } } else if (msgId === 'UI_SaveAs') { // TODO it's not possible to enter the // filename into the OC.dialogs.filepicker; so |