diff --git a/app/views/cost_reports/_cost_entry_table.rhtml b/app/views/cost_reports/_cost_entry_table.rhtml index 70f05c1227..be1e9c4950 100644 --- a/app/views/cost_reports/_cost_entry_table.rhtml +++ b/app/views/cost_reports/_cost_entry_table.rhtml @@ -49,8 +49,4 @@ - +<%= render :partial => 'sortable_init', :locals => {:sort_first_row => true } %> diff --git a/app/views/cost_reports/_simple_cost_report_table.rhtml b/app/views/cost_reports/_simple_cost_report_table.rhtml index f1d59132fa..cc14b117ff 100644 --- a/app/views/cost_reports/_simple_cost_report_table.rhtml +++ b/app/views/cost_reports/_simple_cost_report_table.rhtml @@ -43,8 +43,4 @@ show_units = list.include? "cost_type_id" - +<%= render :partial => 'sortable_init' %> diff --git a/app/views/cost_reports/_sortable_init.rhtml b/app/views/cost_reports/_sortable_init.rhtml new file mode 100644 index 0000000000..09b0f88da2 --- /dev/null +++ b/app/views/cost_reports/_sortable_init.rhtml @@ -0,0 +1,13 @@ +<% sort_first_row = sort_first_row || false %> + + \ No newline at end of file