aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server/src/main/webapp/javascripts
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@gmail.com>2013-07-11 14:43:45 +0200
committerJulien Lancelot <julien.lancelot@gmail.com>2013-07-11 14:43:55 +0200
commitf8efcda570ebf6947a0f163b3d744de7d06892cd (patch)
treee1ee0ddd96551631a122711264ffff76af21bd40 /sonar-server/src/main/webapp/javascripts
parentd1ecfe6230a308246290a6153f003a2c6f037527 (diff)
downloadsonarqube-f8efcda570ebf6947a0f163b3d744de7d06892cd.tar.gz
sonarqube-f8efcda570ebf6947a0f163b3d744de7d06892cd.zip
SONAR-4491 Link in rule description of an issue do not open in a modal window but in a new window
Diffstat (limited to 'sonar-server/src/main/webapp/javascripts')
-rw-r--r--sonar-server/src/main/webapp/javascripts/issue.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/sonar-server/src/main/webapp/javascripts/issue.js b/sonar-server/src/main/webapp/javascripts/issue.js
index 410d37a1ed8..2beda2b9d7b 100644
--- a/sonar-server/src/main/webapp/javascripts/issue.js
+++ b/sonar-server/src/main/webapp/javascripts/issue.js
@@ -199,6 +199,9 @@ function toggleIssueRule(elt) {
$j.get(baseUrl + "/issue/rule/" + ruleKey, function (html) {
ruleElt.html(html);
ruleElt.slideDown('fast');
+
+ // re-enable the links opening modal popups
+ ruleElt.find('.open-modal').modal();
});
}
return false;