Merge pull request #9303 from owncloud/issue/8841

Do not strict compare item source id so the dropdown is closed correctly
remotes/origin/ldap_group_count
Jörn Friedrich Dreyer 12 years ago
commit f35f14aa37
  1. 2
      apps/files_sharing/js/share.js

@ -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…
Cancel
Save