Skip to content
Snippets Groups Projects
Commit 5e4ac548 authored by Joas Schilling's avatar Joas Schilling
Browse files

Use attr() instead of data() so the item ids work as intended

Fix #8841
parent 589f68eb
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment