aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@gmail.com>2013-07-18 11:47:46 +0200
committerJulien Lancelot <julien.lancelot@gmail.com>2013-07-18 11:47:46 +0200
commit5ec12006c215c6bf5e9e6c58cdaec5141473585d (patch)
treebdbefc11c6835e5b298a106a05f18b66b58bffb5 /sonar-server
parent5507fbd0fa81481eb5976161c2e50035f711303e (diff)
downloadsonarqube-5ec12006c215c6bf5e9e6c58cdaec5141473585d.tar.gz
sonarqube-5ec12006c215c6bf5e9e6c58cdaec5141473585d.zip
Fix issue when displaying issue dropdown menu
Diffstat (limited to 'sonar-server')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/issue/_issue.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/issue/_issue.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/issue/_issue.html.erb
index 5b7cd5ff905..4c276319a75 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/issue/_issue.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/issue/_issue.html.erb
@@ -110,7 +110,7 @@
plugin_actions = Internal.issues.listActions(issue)
shouldDisplayDropDown = transitions.size > 1 || !issue.resolution || !plugin_actions.empty?
if shouldDisplayDropDown
- transitions.remove(0)
+ transitions.remove(0) if transitions.size > 1
%>
<div class="dropdown">
<a href="#" class="link-action link-more" onclick="showDropdownMenuOnElement($j(this).next('.dropdown-menu')); return false;"><%= message('more_actions') -%></a>