Cleanup old log and fix share icon sidebar opening in breadcru… (#18425)
Cleanup old log and fix share icon sidebar opening in breadcrumbs
This commit is contained in:
commit
29f6f15cf3
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -254,7 +254,6 @@
|
||||||
* @returns {boolean} true if the icon was set, false otherwise
|
* @returns {boolean} true if the icon was set, false otherwise
|
||||||
*/
|
*/
|
||||||
_updateFileActionIcon: function($tr, hasUserShares, hasLinkShares) {
|
_updateFileActionIcon: function($tr, hasUserShares, hasLinkShares) {
|
||||||
console.info('object');
|
|
||||||
// if the statuses are loaded already, use them for the icon
|
// if the statuses are loaded already, use them for the icon
|
||||||
// (needed when scrolling to the next page)
|
// (needed when scrolling to the next page)
|
||||||
if (hasUserShares || hasLinkShares || $tr.attr('data-share-recipient-data') || $tr.attr('data-share-owner')) {
|
if (hasUserShares || hasLinkShares || $tr.attr('data-share-recipient-data') || $tr.attr('data-share-owner')) {
|
||||||
|
|
|
@ -67,8 +67,8 @@
|
||||||
})
|
})
|
||||||
|
|
||||||
var path = fileInfoModel.attributes.path + '/' + fileInfoModel.attributes.name
|
var path = fileInfoModel.attributes.path + '/' + fileInfoModel.attributes.name
|
||||||
OCA.Files.Sidebar.file = path
|
OCA.Files.Sidebar.open(path)
|
||||||
OCA.Files.Sidebar.activeTab = 'sharing'
|
OCA.Files.Sidebar.setActiveTab('sharing')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue