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

This commit is contained in:
Eric Davis committed 2009-04-22 11:42:06 -07:00
1 parent b4fbbde01a
commit 467c1259d8
2 files changed
+11 -2

No files matched your search

+6 -1
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