From aa342c58f14c8bc402f69143e9451aaad878e6c3 Mon Sep 17 00:00:00 2001 From: Fabrice Bellingard Date: Fri, 17 Feb 2012 10:40:19 +0100 Subject: [PATCH] SONAR-1492 Update html to ease IT writing --- .../WEB-INF/app/controllers/rules_configuration_controller.rb | 2 +- .../app/views/rules_configuration/_active_rule_note.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sonar-server/src/main/webapp/WEB-INF/app/controllers/rules_configuration_controller.rb b/sonar-server/src/main/webapp/WEB-INF/app/controllers/rules_configuration_controller.rb index c1c298abc1f..160e31a981c 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/controllers/rules_configuration_controller.rb +++ b/sonar-server/src/main/webapp/WEB-INF/app/controllers/rules_configuration_controller.rb @@ -339,7 +339,7 @@ class RulesConfigurationController < ApplicationController # set the note on the rule to avoid reloading the rule active_rule.note = note end - note.text = params[:text] + note.text = params[:note] note.user_login = current_user.login note.save! render :partial => 'active_rule_note', :locals => {:active_rule => active_rule, :is_admin => true } diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/_active_rule_note.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/_active_rule_note.html.erb index f860b0fad78..79370fd0b10 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/_active_rule_note.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/_active_rule_note.html.erb @@ -42,7 +42,7 @@ - -- 2.39.5