]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-3755 Fix problem when displaying Issues detail from widget
authorJulien Lancelot <julien.lancelot@gmail.com>
Tue, 4 Jun 2013 12:58:05 +0000 (14:58 +0200)
committerJulien Lancelot <julien.lancelot@gmail.com>
Tue, 4 Jun 2013 12:58:05 +0000 (14:58 +0200)
sonar-server/src/main/webapp/WEB-INF/app/views/project/widgets/issues/_issues_list.html.erb

index 8b6e9cce1aed65a9457c5d07cf5810fdc4957881..0b248d3b9a0f97fbddd62cd3ca3cbc1ad93a4484 100644 (file)
@@ -89,7 +89,7 @@
       <tr class="<%= cycle 'even', 'odd', :name => ('issues-widget-list-' + widget_id) -%>">
         <td><img src="<%= ApplicationController.root_context -%>/images/priority/<%= issue.severity() -%>.png" title="<%= message('severity.' + issue.severity()) -%>"/></td>
         <td>
-          <a class='open-modal rule-modal' modal-width='800' href='<%= url_for :controller => 'issue', :action => 'view', :id => issue.key %>'>
+          <a class='open-modal rule-modal' modal-width='800' href='<%= url_for :controller => 'issue', :action => 'show', :id => issue.key, :modal => true %>'>
             <%= h truncate(issue.message, :length => 100) -%></a>
           <% if last_comment %>
             <div class="comment-excerpt">