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:40 +0300
committerGitHub <noreply@github.com>2019-10-30 21:46:40 +0300
commit418ee8ed17dd3143e927849f510f7aeb2eb65f01 (patch)
tree9350640b94ac2fdd5b0f38f487568d7336db8e44
parente7850f41fc9fa92c37b1df58c234073bf29ab5e6 (diff)
parent7c8c2c2d2d607c9d38f0dca7f68b686597dc860c (diff)
Merge pull request #549 from nextcloud/backport/546/stable15v15.0.13rc1
[stable15] 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();