Use attr() instead of data() so the item ids work as intended
Fix #8841
This commit is contained in:
parent
589f68ebf6
commit
5e4ac548bb
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@
|
|||
var appendTo = $tr.find('td.filename');
|
||||
// Check if drop down is already visible for a different file
|
||||
if (OC.Share.droppedDown) {
|
||||
if ($tr.data('id') !== $('#dropdown').attr('data-item-source')) {
|
||||
if ($tr.attr('data-id') !== $('#dropdown').attr('data-item-source')) {
|
||||
OC.Share.hideDropDown(function () {
|
||||
$tr.addClass('mouseOver');
|
||||
OC.Share.showDropDown(itemType, $tr.data('id'), appendTo, true, possiblePermissions, filename);
|
||||
|
|
Loading…
Reference in a new issue