increase range of years that the date picker should honor. Now set at 2015 at which you really should have upgraded to a newer version of tracks :-)

This commit is contained in:
Reinier Balt 2010-08-11 09:40:15 +02:00
parent 13db454e8a
commit 7de258841e

View file

@ -199,7 +199,7 @@ module TodosHelper
def calendar_setup( input_field )
str = "Calendar.setup({ ifFormat:\"#{prefs.date_format}\""
str << ",firstDay:#{prefs.week_starts},showOthers:true,range:[2004, 2010]"
str << ",firstDay:#{prefs.week_starts},showOthers:true,range:[2004, 2015]"
str << ",step:1,inputField:\"" + input_field + "\",cache:true,align:\"TR\" })\n"
javascript_tag str
end