diff options
author | David Gageot <david@gageot.net> | 2012-10-09 10:07:51 +0200 |
---|---|---|
committer | David Gageot <david@gageot.net> | 2012-10-09 14:58:34 +0200 |
commit | a713e3591c2079580ac4dc9f390ed4eb3e42124c (patch) | |
tree | 62fd0dda9e40d162fb87432a0cc2a602fda68791 /sonar-server | |
parent | 65ae94f8fa5244b699b1cbd064d3ccf66af318d8 (diff) | |
download | sonarqube-a713e3591c2079580ac4dc9f390ed4eb3e42124c.tar.gz sonarqube-a713e3591c2079580ac4dc9f390ed4eb3e42124c.zip |
Remove dead javascript code
Diffstat (limited to 'sonar-server')
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/views/settings/_properties.html.erb | 8 |
1 files changed, 0 insertions, 8 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 1dd4fffea75..56646fcaca3 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 @@ -66,21 +66,13 @@ <script> $j('.delete').live('click', function () { - var value_count = $j(this).parents('.property').find('.delete').size() - 2; - //if (0 == value_count) { - // var template = $j(this).parents('.property').find('.template').last(); - // template.clone().insertBefore(template).show(); - //} $j(this).parents('.multi_value').remove(); return false; }); $j('.add_value').live('click', function () { - //$j(this).parents('.property').find('.delete').show(); - var template = $j(this).parents('.property').find('.template').last(); template.clone().insertBefore(template).show(); - return false; }); </script> |