From: Simon Brandhof Date: Tue, 18 Jun 2013 13:15:47 +0000 (+0200) Subject: SONAR-4363 Settings page -> there is no way to add several lines in a text area property X-Git-Tag: 3.7~455 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1a83444b723042289fc22cb8b2fc1d09cfe5b953;p=sonarqube.git SONAR-4363 Settings page -> there is no way to add several lines in a text area property --- diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/settings/_properties.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/settings/_properties.html.erb index b3d1f3831cd..a689ad1a68c 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/settings/_properties.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/settings/_properties.html.erb @@ -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; }