Browse Source

Cleanup old log and fix share icon sidebar opening in breadcru… (#18425)

Cleanup old log and fix share icon sidebar opening in breadcrumbs
pull/18409/head
John Molakvoæ 6 years ago
committed by GitHub
parent
commit
29f6f15cf3
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      apps/files_sharing/js/dist/additionalScripts.js
  2. 2
      apps/files_sharing/js/dist/additionalScripts.js.map
  3. 1
      apps/files_sharing/src/share.js
  4. 4
      apps/files_sharing/src/sharebreadcrumbview.js

4
apps/files_sharing/js/dist/additionalScripts.js
File diff suppressed because it is too large
View File

2
apps/files_sharing/js/dist/additionalScripts.js.map
File diff suppressed because it is too large
View File

1
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')) {

4
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')
}
})

Loading…
Cancel
Save