]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-4611 Remove prototypejs from Quality profiles console
authorstephenbroyer <stephen.broyer@sonarsource.com>
Tue, 3 Sep 2013 14:38:01 +0000 (16:38 +0200)
committerSimon Brandhof <simon.brandhof@gmail.com>
Wed, 11 Sep 2013 09:00:11 +0000 (11:00 +0200)
sonar-server/src/main/webapp/WEB-INF/app/views/alerts/_new.html.erb

index e003c494655372ac9580e2e4a62ff9bc67169511..5ae9067b67de82a1dbb039f815a7f31bfde0f8be 100644 (file)
@@ -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,