[#2279] Added an empty select field for the statuses.

This commit is contained in:
Eric Davis
2009-04-22 11:42:06 -07:00
parent b4fbbde01a
commit 467c1259d8
2 changed files with 11 additions and 2 deletions

View File

@@ -22,6 +22,11 @@ class OverheadTimesheetHook < Redmine::Hook::ViewListener
# Added a new field for filtering based on "billable?"
def plugin_timesheet_views_timesheet_form(context={})
context[:controller].send(:render_to_string, :partial => 'timesheet/overhead_form', :layout => false)
context[:controller].send(:render_to_string,
:partial => 'timesheet/overhead_form',
:layout => false,
:locals => {
:list_size => context[:list_size] || 5
})
end
end