Dont show menu automatically when share link is clicked
Signed-off-by: Greta Doci <gretadoci@gmail.com>
This commit is contained in:
parent
130fdf5006
commit
53aa73d5d6
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue