From a9541a675ad1c57e0f9f631ca90fb2cce7fc7838 Mon Sep 17 00:00:00 2001 From: stephenbroyer Date: Tue, 3 Sep 2013 16:38:01 +0200 Subject: [PATCH] SONAR-4611 Remove prototypejs from Quality profiles console --- .../src/main/webapp/WEB-INF/app/views/alerts/_new.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/alerts/_new.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/alerts/_new.html.erb index e003c494655..5ae9067b67d 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/alerts/_new.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/alerts/_new.html.erb @@ -72,7 +72,7 @@ }); $j('#alert_metric_id').change(function (event) { - metricId = $('alert_metric_id').value; + metricId = $j('#alert_metric_id').val(); $j.ajax({ type: 'POST', url: "<%= ApplicationController.root_context -%>/alerts/new?profile_id=<%= @profile.id -%>&alert[metric_id]="+ metricId, -- 2.39.5