]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-4363 Settings page -> there is no way to add several lines in a text area property
authorSimon Brandhof <simon.brandhof@gmail.com>
Tue, 18 Jun 2013 13:15:47 +0000 (15:15 +0200)
committerSimon Brandhof <simon.brandhof@gmail.com>
Tue, 18 Jun 2013 13:15:47 +0000 (15:15 +0200)
sonar-server/src/main/webapp/WEB-INF/app/views/settings/_properties.html.erb

index b3d1f3831cd56a854c4e7cff7e800a4ce89c29df..a689ad1a68c231e3c319c850d5bed718f3b23687 100644 (file)
@@ -94,7 +94,7 @@
       return false;
     })
     .on('keypress', 'form', function (e) {
-      if (e.which == 13) {
+      if (e.which == 13 && e.target.nodeName != "TEXTAREA") {
         submit_settings.click();
         return false;
       }