LimeSurvey issue tracker
Registration

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
04843Bug reports[All Projects] Survey takingpublic2011-01-03 15:262011-01-07 20:44
Reportermdekker 
Assigned Toc_schmitz 
PrioritynormalSeveritymajor 
StatusclosedResolutionfixed 
Product Version1.90+ 
Target VersionFixed in Version1.91RC1 
Summary04843: jquery datepicker doesn't like year ranges
DescriptionWhen today is outside of the year range of the datepicker, the datepicker is wrong.
Steps To ReproduceCreate a datefield using the datepicker
set the year range to something before today (ie. 2010)
now check the question: it opens on today, but shows a different year dropdown. So when you select a date and think you are in that year, you click it and get a date in the current year/month.
Additional InformationNot sure how to fix this, maybe it is a jquery bug or the jquery mindate/maxdate should also be set.
I will donate to the project if issue is resolved within 48 hrsNo
LimeSurvey build number5691
BrowserChrome
Database & DB-Versiondna
Operating System (Server)dna
Webserver software & versiondna
PHP Versiondna
Attached Files? file icon limesurvey_survey_53696.lss [^] (9,999 bytes) 2011-01-03 15:26

- Relationships

-  Notes
User avatar (13843)
mdekker (developer)
2011-01-04 09:32

Fix works great for me. Thanks for the quick response!

One minor thing: jQuery talks about relative yearranges, but i couldn't find a reference to that in the LS docs. So if relative ranges are not allowed all is fine, when they are allowed the code should be checked since a relative range didn't work for me (but I don't need that anyway).

http://docs.jquery.com/UI/Datepicker#option-yearRange [^]

- Issue History
Date Modified Username Field Change
2011-01-03 15:26 mdekker New Issue
2011-01-03 15:26 mdekker File Added: limesurvey_survey_53696.lss
2011-01-03 21:33 c_schmitz Status new => resolved
2011-01-03 21:33 c_schmitz Fixed in Version => 1.91RC1
2011-01-03 21:33 c_schmitz Resolution open => fixed
2011-01-03 21:33 c_schmitz Assigned To => c_schmitz
2011-01-04 09:32 mdekker Note Added: 13843
2011-01-07 20:44 c_schmitz Status resolved => closed


Copyright © 2000 - 2013 MantisBT Team
Powered by Mantis Bugtracker