diff --git a/app/views/cost_reports/_group_by.rhtml b/app/views/cost_reports/_group_by.rhtml index 7c940e53d8..c77bc5c7d0 100644 --- a/app/views/cost_reports/_group_by.rhtml +++ b/app/views/cost_reports/_group_by.rhtml @@ -2,8 +2,8 @@ //.include($("group_by[name]").value) ? 'inline' : 'none'}); + $('group_by_granularity').setStyle({ + 'display': <%= @query.time_groups.inject([]){|r,t| r<.include($("group_by_name").value) ? 'inline' : 'none'}); } //]]>