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

Loading…
Cancel
Save