aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2013-06-20 13:39:39 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2013-06-20 13:39:39 +0200
commitd6bb3befad80ac760624f0a9947aff2dbd07f164 (patch)
tree7e0e6a00ed30d650dd293442d91e34790b200980 /sonar-server
parente4fa8ab2e7acfaa00de2f20d3654f919b779638d (diff)
downloadsonarqube-d6bb3befad80ac760624f0a9947aff2dbd07f164.tar.gz
sonarqube-d6bb3befad80ac760624f0a9947aff2dbd07f164.zip
Fix issue popup from paginated issue widget
Diffstat (limited to 'sonar-server')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/project/widgets/issues/_issues_list.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/project/widgets/issues/_issues_list.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/project/widgets/issues/_issues_list.html.erb
index 0b248d3b9a0..3dd2a4bf56f 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/project/widgets/issues/_issues_list.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/project/widgets/issues/_issues_list.html.erb
@@ -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">