From: David Gageot Date: Mon, 24 Sep 2012 19:43:22 +0000 (+0200) Subject: Remove magnifying glass for test settings X-Git-Tag: 3.3~218 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=fe72721297fc7f5dbf7b06ef448f9bc25c16533c;p=sonarqube.git Remove magnifying glass for test settings --- 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