From fe72721297fc7f5dbf7b06ef448f9bc25c16533c Mon Sep 17 00:00:00 2001 From: David Gageot Date: Mon, 24 Sep 2012 21:43:22 +0200 Subject: [PATCH] Remove magnifying glass for test settings --- .../webapp/WEB-INF/app/views/settings/_properties.html.erb | 6 ------ .../app/views/settings/_type_REGULAR_EXPRESSION.html.erb | 3 +-- .../webapp/WEB-INF/app/views/settings/_type_STRING.html.erb | 5 +---- 3 files changed, 2 insertions(+), 12 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 ed62ce8d565..ecb02241bc3 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 @@ -79,10 +79,4 @@ template.before(template.html()); return false; }); - - function enlargeTextInput(propertyKey) { - var input = $j('#' + propertyKey); - var textArea = ''; - input.replaceWith(textArea); - } diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/settings/_type_REGULAR_EXPRESSION.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/settings/_type_REGULAR_EXPRESSION.html.erb index b5e2126fc19..9694f05758e 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/settings/_type_REGULAR_EXPRESSION.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/settings/_type_REGULAR_EXPRESSION.html.erb @@ -1,2 +1 @@ - -<%= link_to_function(image_tag('zoom.png'), "enlargeTextInput('#{property.getKey()}')", :class => 'nolink') -%> \ No newline at end of file + \ No newline at end of file diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/settings/_type_STRING.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/settings/_type_STRING.html.erb index ee1ec69bd15..e1951b5f5a2 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/settings/_type_STRING.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/settings/_type_STRING.html.erb @@ -1,4 +1 @@ - -<% unless property.multi_values -%> - <%= link_to_function(image_tag('zoom.png'), "enlargeTextInput('input_#{property.key.parameterize}')", :class => 'nolink') -%> -<% end -%> + \ No newline at end of file -- 2.39.5