mirror of
https://github.com/nextcloud/server.git
synced 2026-05-25 02:34:12 -04:00
Merge pull request #12482 from nextcloud/share-menu-click-fix
Fix wrong share popover opening on share link
This commit is contained in:
commit
a79c7c7b05
1 changed files with 3 additions and 5 deletions
|
|
@ -294,14 +294,12 @@
|
|||
$loading.removeClass('hidden');
|
||||
// this will create it
|
||||
this.model.saveLinkShare();
|
||||
$('.share-menu .icon-more').click();
|
||||
$('.share-menu .icon-more + .popovermenu .clipboardButton').click();
|
||||
} else {
|
||||
// force the rendering of the menu
|
||||
this.showPending = true;
|
||||
this.render()
|
||||
$('.share-menu .icon-more').click();
|
||||
$('.share-menu .icon-more + .popovermenu input:eq(1)').focus()
|
||||
this.render();
|
||||
$('#shareLink .share-menu .icon-more').click();
|
||||
$('#shareLink .share-menu .icon-more + .popovermenu input:eq(1)').focus();
|
||||
}
|
||||
} else {
|
||||
if (this.model.get('linkShare').isLinkShare) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue