From b16c495b004e952cea0cc9dba5beb303d7724840 Mon Sep 17 00:00:00 2001 From: Julien Lancelot Date: Fri, 24 Jan 2014 09:49:02 +0100 Subject: [PATCH] Fix issue when plugin add some action that contains dash in the key --- .../main/webapp/WEB-INF/app/views/issues/search.html.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/issues/search.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/issues/search.html.erb index 44204a77e32..6ae5c82255f 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/issues/search.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/issues/search.html.erb @@ -65,9 +65,9 @@ plan: '<%= escape_javascript message('issue.do_plan') -%>', planned_for: '<%= escape_javascript message('issue.planned_for') -%>', severity: '<%= escape_javascript message('issue.set_severity') -%>', - <% Internal.issues.listPluginActions().each do |action| %> - <%= action.key -%>: '<%= escape_javascript message("issue.action.#{action.key}.formlink") -%>', - <% end %> + <% Internal.issues.listPluginActions().each do |action| -%> + '<%= escape_javascript action -%>': '<%= escape_javascript message("issue.action.#{action}.formlink") -%>', + <% end -%> }, assignee: '<%= escape_javascript message('issue_filter.criteria.assignee') -%>', resolution: '<%= escape_javascript message('issue_filter.criteria.resolution') -%>', -- 2.39.5