summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Gageot <david@gageot.net>2012-10-09 10:07:51 +0200
committerDavid Gageot <david@gageot.net>2012-10-09 14:58:34 +0200
commita713e3591c2079580ac4dc9f390ed4eb3e42124c (patch)
tree62fd0dda9e40d162fb87432a0cc2a602fda68791
parent65ae94f8fa5244b699b1cbd064d3ccf66af318d8 (diff)
downloadsonarqube-a713e3591c2079580ac4dc9f390ed4eb3e42124c.tar.gz
sonarqube-a713e3591c2079580ac4dc9f390ed4eb3e42124c.zip
Remove dead javascript code
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/settings/_properties.html.erb8
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>