diff --git a/templates/default/scripts/template.js b/templates/default/scripts/template.js index 5e61b3533be..93bee3c120a 100644 --- a/templates/default/scripts/template.js +++ b/templates/default/scripts/template.js @@ -81,11 +81,17 @@ $(document).ready(function(){ { $('.no-more-tables').find('td').each(function(){ $that = $(this); - //$content = ''+$that.data('title')+''; $label = $that.data('title'); $input = $that.find('input'); - //$that.empty().prepend($content); - $that.find('label').prepend($label); + if($input.is(':checkbox')) + { + $that.find('label').removeClass('hide'); + } + else + { + $that.find('label').prepend($label); + } + }); } }