]> source.dussan.org Git - sonarqube.git/commitdiff
Fix issue popup from paginated issue widget
authorSimon Brandhof <simon.brandhof@gmail.com>
Thu, 20 Jun 2013 11:39:39 +0000 (13:39 +0200)
committerSimon Brandhof <simon.brandhof@gmail.com>
Thu, 20 Jun 2013 11:40:41 +0000 (13:40 +0200)
sonar-server/src/main/webapp/WEB-INF/app/views/project/widgets/issues/_issues_list.html.erb

index 0b248d3b9a0f97fbddd62cd3ca3cbc1ad93a4484..3dd2a4bf56f472413d32748e76fad6c331ef1a5e 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 => 'show', :id => issue.key, :modal => true %>'>
+          <a class="rule-modal" href="#" onclick="return openModalWindow('<%= url_for :controller => 'issue', :action => 'show', :id => issue.key, :modal => true -%>', {'width': 800})">
             <%= h truncate(issue.message, :length => 100) -%></a>
           <% if last_comment %>
             <div class="comment-excerpt">