aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-01-29 14:22:55 +0100
committerStas Vilchik <vilchiks@gmail.com>2015-01-29 15:34:59 +0100
commit24af13e347c39f0473bc1679a039961141a874f4 (patch)
tree5aea8887bdbb5860351dbea4eb67cf47110595d5
parent984b91b4c32d9733a017b250904e9e5311d86e31 (diff)
downloadsonarqube-24af13e347c39f0473bc1679a039961141a874f4.tar.gz
sonarqube-24af13e347c39f0473bc1679a039961141a874f4.zip
fix closing of tooltips in rule details
-rw-r--r--server/sonar-web/src/main/js/coding-rules/rule/rule-meta-view.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/coding-rules/rule/rule-meta-view.js b/server/sonar-web/src/main/js/coding-rules/rule/rule-meta-view.js
index 14ac78006ee..4f3b838d1b5 100644
--- a/server/sonar-web/src/main/js/coding-rules/rule/rule-meta-view.js
+++ b/server/sonar-web/src/main/js/coding-rules/rule/rule-meta-view.js
@@ -30,6 +30,10 @@ define([
});
},
+ onClose: function () {
+ this.$('[data-toggle="tooltip"]').tooltip('destroy');
+ },
+
requestTags: function () {
var url = baseUrl + '/api/rules/tags';
return jQuery.get(url);