Dont show menu automatically when share link is clicked

Signed-off-by: Greta Doci <gretadoci@gmail.com>
This commit is contained in:
Greta Doci 2019-07-18 14:27:19 +02:00 committed by Daniel Calviño Sánchez
parent 130fdf5006
commit 53aa73d5d6
3 changed files with 2 additions and 7 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -243,11 +243,6 @@
if (newShareId) {
var shares = self.$el.find('li[data-share-id]');
var $newShare = self.$el.find('li[data-share-id="'+newShareId+'"]');
// only open the menu by default if this is the first share
if ($newShare && shares.length === 1) {
var $menu = $newShare.find('.popovermenu');
OC.showMenu(null, $menu);
}
}
},
error: function() {