Fix closing the sharing dropdown by clicking on the share button

remotes/origin/stable45
Michael Gapczynski 14 years ago
parent 8e0676a66b
commit f571cfbf71
  1. 2
      apps/files_sharing/js/share.js

@ -46,7 +46,7 @@ $(document).ready(function() {
var appendTo = $(tr).find('td.filename');
// Check if drop down is already visible for a different file
if (OC.Share.droppedDown) {
if (item != $('#dropdown').data('item')) {
if ($(tr).data('id') != $('#dropdown').attr('data-item-source')) {
OC.Share.hideDropDown(function () {
$(tr).addClass('mouseOver');
OC.Share.showDropDown(itemType, $(tr).data('id'), appendTo, true, possiblePermissions);

Loading…
Cancel
Save