diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-12-16 12:08:26 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-12-16 12:08:26 +0100 |
commit | f8a36630e7289864425603b57576cf05118ad18c (patch) | |
tree | 016159f7fc8f484c7138fb4f29a1dbea3ae18fff /apps/files_sharing/src | |
parent | 85ef2bf94429d37ad4c76860b8d9028505b3bf13 (diff) | |
download | nextcloud-server-f8a36630e7289864425603b57576cf05118ad18c.tar.gz nextcloud-server-f8a36630e7289864425603b57576cf05118ad18c.zip |
Cleanup old log and fix share icon sidebar opening in breadcrumbs
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files_sharing/src')
-rw-r--r-- | apps/files_sharing/src/share.js | 1 | ||||
-rw-r--r-- | apps/files_sharing/src/sharebreadcrumbview.js | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/apps/files_sharing/src/share.js b/apps/files_sharing/src/share.js index 07c367fddab..79dfe4a174f 100644 --- a/apps/files_sharing/src/share.js +++ b/apps/files_sharing/src/share.js @@ -254,7 +254,6 @@ * @returns {boolean} true if the icon was set, false otherwise */ _updateFileActionIcon: function($tr, hasUserShares, hasLinkShares) { - console.info('object'); // if the statuses are loaded already, use them for the icon // (needed when scrolling to the next page) if (hasUserShares || hasLinkShares || $tr.attr('data-share-recipient-data') || $tr.attr('data-share-owner')) { diff --git a/apps/files_sharing/src/sharebreadcrumbview.js b/apps/files_sharing/src/sharebreadcrumbview.js index 5c310501649..d3b56ff853a 100644 --- a/apps/files_sharing/src/sharebreadcrumbview.js +++ b/apps/files_sharing/src/sharebreadcrumbview.js @@ -67,8 +67,8 @@ }) var path = fileInfoModel.attributes.path + '/' + fileInfoModel.attributes.name - OCA.Files.Sidebar.file = path - OCA.Files.Sidebar.activeTab = 'sharing' + OCA.Files.Sidebar.open(path) + OCA.Files.Sidebar.setActiveTab('sharing') } }) |