summaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2017-04-24 13:04:49 +0200
committerGeorg Ehrke <developer@georgehrke.com>2017-04-26 09:28:14 +0200
commit8f404c1f5640693c3fddd30fd36a3b97e725f2e1 (patch)
tree60bc97d7825bd2ade4fe10910eeb01e8ce1fcd04 /core/js
parentc844b2931e72ae341b466a02509ef94c37568af6 (diff)
downloadnextcloud-server-8f404c1f5640693c3fddd30fd36a3b97e725f2e1.tar.gz
nextcloud-server-8f404c1f5640693c3fddd30fd36a3b97e725f2e1.zip
don't toggle sharing popover together with contactsmenu popover
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Diffstat (limited to 'core/js')
-rw-r--r--core/js/sharedialogshareelistview.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/js/sharedialogshareelistview.js b/core/js/sharedialogshareelistview.js
index 982004bf52d..f513eb75848 100644
--- a/core/js/sharedialogshareelistview.js
+++ b/core/js/sharedialogshareelistview.js
@@ -408,7 +408,7 @@
var shareId = parseInt(this._menuOpen, 10);
if(!_.isNaN(shareId)) {
var liSelector = 'li[data-share-id=' + shareId + ']';
- OC.showMenu(null, this.$(liSelector + ' .popovermenu'));
+ OC.showMenu(null, this.$(liSelector + '.sharingOptionsGroup .popovermenu'));
}
}
@@ -485,7 +485,7 @@
event.stopPropagation();
var $element = $(event.target);
var $li = $element.closest('li[data-share-id]');
- var $menu = $li.find('.popovermenu');
+ var $menu = $li.find('.sharingOptionsGroup .popovermenu');
OC.showMenu(null, $menu);
this._menuOpen = $li.data('share-id');