Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/gallery.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2019-10-30 21:46:21 +0300
committerGitHub <noreply@github.com>2019-10-30 21:46:21 +0300
commit7c4ad89d2b27a9862b0bf5155b655e7ad210f62b (patch)
treead5f25c707eac25ac8c002745bfd02c2a0cb1990
parent6fb52e49f493f2e0879c4d5af8606052f4149cb0 (diff)
parent8c6284f56088e4ef3bbccb79238e9ffe8514d704 (diff)
Merge pull request #548 from nextcloud/backport/546/stable16v16.0.6rc1
[stable16] Force close all tooltips when closing sharing menu
-rw-r--r--js/vendor/nextcloud/share.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/js/vendor/nextcloud/share.js b/js/vendor/nextcloud/share.js
index db22c3c3..a939e071 100644
--- a/js/vendor/nextcloud/share.js
+++ b/js/vendor/nextcloud/share.js
@@ -495,7 +495,8 @@
.tooltip('hide')
.tooltip({
placement: 'bottom',
- trigger: 'manual'
+ trigger: 'manual',
+ trackTooltip: true
})
.tooltip('fixTitle')
.tooltip('show');
@@ -805,6 +806,7 @@
*/
hideDropDown: function (callback) {
this.currentShares = null;
+ $('[data-original-title]').tooltip('hide');
$('#dropdown').slideUp(OC.menuSpeed, function () {
Gallery.Share.droppedDown = false;
$('#dropdown').remove();