]> source.dussan.org Git - sonarqube.git/commitdiff
Remove magnifying glass for test settings
authorDavid Gageot <david@gageot.net>
Mon, 24 Sep 2012 19:43:22 +0000 (21:43 +0200)
committerDavid Gageot <david@gageot.net>
Mon, 24 Sep 2012 19:45:18 +0000 (21:45 +0200)
sonar-server/src/main/webapp/WEB-INF/app/views/settings/_properties.html.erb
sonar-server/src/main/webapp/WEB-INF/app/views/settings/_type_REGULAR_EXPRESSION.html.erb
sonar-server/src/main/webapp/WEB-INF/app/views/settings/_type_STRING.html.erb

index ed62ce8d565cfd142e1c7d9ee01236968901def8..ecb02241bc39f55a4b9bb2ef5d3a3c7aa04c0af0 100644 (file)
     template.before(template.html());
     return false;
   });
-
-  function enlargeTextInput(propertyKey) {
-    var input = $j('#' + propertyKey);
-    var textArea = '<textarea class="width100" rows="10" name="' + input.attr('name') + '" id="input_' + propertyKey + '">' + input.val() + '</textarea>';
-    input.replaceWith(textArea);
-  }
 </script>
index b5e2126fc196be364398fa27adb0a05a9c582dbd..9694f05758ecafb47785ceffab7a4003f1dadd84 100644 (file)
@@ -1,2 +1 @@
-<input type="text" name="<%= input_name(property) -%>" value="<%= h value if value -%>" size="50" id="input_<%= h property.getKey() -%>"/>
-<%= link_to_function(image_tag('zoom.png'), "enlargeTextInput('#{property.getKey()}')", :class => 'nolink') -%>
\ No newline at end of file
+<input type="text" name="<%= input_name(property) -%>" value="<%= h value if value -%>" size="50" id="input_<%= h property.getKey() -%>"/>
\ No newline at end of file
index ee1ec69bd150616106d3624f9144db31afe9dbc1..e1951b5f5a2a9c2b11b5226d6573a7010a857a27 100644 (file)
@@ -1,4 +1 @@
-<input type="text" name="<%= input_name(property) -%>" value="<%= h value if value -%>" size="50" id="input_<%= property.key.parameterize -%>"/>
-<% unless property.multi_values -%>
-  <%= link_to_function(image_tag('zoom.png'), "enlargeTextInput('input_#{property.key.parameterize}')", :class => 'nolink') -%>
-<% end -%>
+<input type="text" name="<%= input_name(property) -%>" value="<%= h value if value -%>" size="50" id="input_<%= property.key.parameterize -%>"/>
\ No newline at end of file