aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabrice Bellingard <fabrice.bellingard@sonarsource.com>2012-09-21 15:39:27 +0200
committerFabrice Bellingard <fabrice.bellingard@sonarsource.com>2012-09-21 15:40:47 +0200
commit630cd426b14c9ad01cb70939ce1068fd44f3a598 (patch)
tree735b5981563b118665148ccaf29d4b3a89b22135
parenta6ffc4cd13d81de42aca57ee5f40563aa359ebab (diff)
downloadsonarqube-630cd426b14c9ad01cb70939ce1068fd44f3a598.tar.gz
sonarqube-630cd426b14c9ad01cb70939ce1068fd44f3a598.zip
SONAR-3716 Do not filter quality profile name when renaming a profile
=> When renaming a quality profile, special characters are displayed in HTML.
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/profiles/index.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/profiles/index.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/profiles/index.html.erb
index f107558bf23..87df20e4c2b 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/profiles/index.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/profiles/index.html.erb
@@ -133,7 +133,7 @@
<% if !(profile.provided?) %>
<% form_tag(:action => 'rename', :id => profile.id) do -%>
<%= hidden_field_tag 'rename_' + profile.id.to_s %>
- <input type="button" name="button_rename" id="rename_<%= u profile.key %>" value="<%= message('rename') -%>" onClick='var name=prompt("<%= message('quality_profiles.new_name') -%>", "<%= u(profile.name) -%>"); if (name!=null) {$("rename_<%= profile.id %>").value=name; submit();} else {return false;}'>
+ <input type="button" name="button_rename" id="rename_<%= u profile.key %>" value="<%= message('rename') -%>" onClick='var name=prompt("<%= message('quality_profiles.new_name') -%>", "<%= profile.name -%>"); if (name!=null) {$("rename_<%= profile.id %>").value=name; submit();} else {return false;}'>
<% end
end %>
</td>