fix spent on granularity issue

git-svn-id: https://dev.finn.de/svn/cockpit/trunk@499 7926756e-e54e-46e6-9721-ed318f58905e
pull/6827/head
rkh 15 years ago
parent 445f3457bd
commit 1b1d05959a
  1. 4
      app/views/cost_reports/_group_by.rhtml

@ -2,8 +2,8 @@
//<![CDATA[ //<![CDATA[
function group_by_changed() function group_by_changed()
{ {
$('group_by[granularity]').setStyle({ $('group_by_granularity').setStyle({
'display': <%= @query.time_groups.inject([]){|r,t| r<<t.to_s}.inspect %>.include($("group_by[name]").value) ? 'inline' : 'none'}); 'display': <%= @query.time_groups.inject([]){|r,t| r<<t.to_s}.inspect %>.include($("group_by_name").value) ? 'inline' : 'none'});
} }
//]]> //]]>
</script> </script>

Loading…
Cancel
Save