Fix closing the sharing dropdown by clicking on the share button
This commit is contained in:
parent
38e9bc2adb
commit
4e6f720f14
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue