summaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-server')
-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>