From 1a83444b723042289fc22cb8b2fc1d09cfe5b953 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Tue, 18 Jun 2013 15:15:47 +0200 Subject: [PATCH] SONAR-4363 Settings page -> there is no way to add several lines in a text area property --- .../main/webapp/WEB-INF/app/views/settings/_properties.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5