]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-4491 Link in rule description of an issue do not open in a modal window but...
authorJulien Lancelot <julien.lancelot@gmail.com>
Thu, 11 Jul 2013 12:43:45 +0000 (14:43 +0200)
committerJulien Lancelot <julien.lancelot@gmail.com>
Thu, 11 Jul 2013 12:43:55 +0000 (14:43 +0200)
sonar-server/src/main/webapp/javascripts/issue.js

index 410d37a1ed86ddef6958ce950012215bd189e5ca..2beda2b9d7b8fe85cd2e0efab3b46de18dabdc48 100644 (file)
@@ -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;