Merge pull request #9303 from owncloud/issue/8841

Do not strict compare item source id so the dropdown is closed correctly
This commit is contained in:
Jörn Friedrich Dreyer 2014-06-30 14:46:46 +02:00
commit f35f14aa37

View file

@ -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);