aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2013-06-18 15:15:47 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2013-06-18 15:15:47 +0200
commit1a83444b723042289fc22cb8b2fc1d09cfe5b953 (patch)
treeb94d7c284279f950bd05cd87c86c8fffa0821cf2 /sonar-server
parente1514d1a82f6e5f3224d0b4c299396cb65079018 (diff)
downloadsonarqube-1a83444b723042289fc22cb8b2fc1d09cfe5b953.tar.gz
sonarqube-1a83444b723042289fc22cb8b2fc1d09cfe5b953.zip
SONAR-4363 Settings page -> there is no way to add several lines in a text area property
Diffstat (limited to 'sonar-server')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/settings/_properties.html.erb2
1 files changed, 1 insertions, 1 deletions
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;
}