Fix closing the sharing dropdown by clicking on the share button
This commit is contained in:
parent
38e9bc2adb
commit
4e6f720f14
|
@ -46,7 +46,7 @@ $(document).ready(function() {
|
||||||
var appendTo = $(tr).find('td.filename');
|
var appendTo = $(tr).find('td.filename');
|
||||||
// Check if drop down is already visible for a different file
|
// Check if drop down is already visible for a different file
|
||||||
if (OC.Share.droppedDown) {
|
if (OC.Share.droppedDown) {
|
||||||
if (item != $('#dropdown').data('item')) {
|
if ($(tr).data('id') != $('#dropdown').attr('data-item-source')) {
|
||||||
OC.Share.hideDropDown(function () {
|
OC.Share.hideDropDown(function () {
|
||||||
$(tr).addClass('mouseOver');
|
$(tr).addClass('mouseOver');
|
||||||
OC.Share.showDropDown(itemType, $(tr).data('id'), appendTo, true, possiblePermissions);
|
OC.Share.showDropDown(itemType, $(tr).data('id'), appendTo, true, possiblePermissions);
|
||||||
|
|
Loading…
Reference in New Issue