From e17fe86594ea626cd89e320825052ff5286d2686 Mon Sep 17 00:00:00 2001 From: Fabrice Bellingard Date: Tue, 19 Feb 2013 14:35:06 +0100 Subject: [PATCH] SONAR-4100 When adding a new project, select "Email" by default --- .../main/webapp/WEB-INF/app/controllers/account_controller.rb | 1 + .../app/views/account/_per_project_notifications.html.erb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/sonar-server/src/main/webapp/WEB-INF/app/controllers/account_controller.rb b/sonar-server/src/main/webapp/WEB-INF/app/controllers/account_controller.rb index 47e81d1c9d2..6277b81c0cd 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/controllers/account_controller.rb +++ b/sonar-server/src/main/webapp/WEB-INF/app/controllers/account_controller.rb @@ -34,6 +34,7 @@ class AccountController < ApplicationController new_project = Project.by_key params[:new_project] unless @per_project_notifications[new_project.id] @per_project_notifications[new_project.id] = init_project_notifications + @new_project_id = new_project.id end @selected_project_id = new_project.id end diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/account/_per_project_notifications.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/account/_per_project_notifications.html.erb index cc4a61bff16..92e0d301b2a 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/account/_per_project_notifications.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/account/_per_project_notifications.html.erb @@ -59,7 +59,7 @@