engineer9090909090909090 / jquery-datepicker

Automatically exported from code.google.com/p/jquery-datepicker
0 stars 0 forks source link

Select Week Function Not Working #202

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I used the jquery date picker in a client solution some time ago.  It was
working fine until today.  In fact, even the demo on the jquery datepicker
web site doesn't seem to function either:

http://www.kelvinluck.com/assets/jquery/datePicker/v2/demo/datePickerSelectWeek.
html

When I click the icon for the pop-up calendar, the calendar appears and
highlights the current week, but clicking on any day in that week does
nothing.  I've tested this in IE8, Safari 4 and Firefox 3.6.

It occurred to me that perhaps this has something to do with the fact that
this week is the 5th week in the month, but I'm just guessing.

Can anyone else confirm this?

Does anyone have a solution?

Thanks in advance for any assistance.

Original issue reported on code.google.com by rshbos...@gmail.com on 27 Apr 2010 at 7:29

GoogleCodeExporter commented 8 years ago
I just checked and I think the current behaviour is expected. The demo is set 
up to
not allow dates in the past to be selected. And a week can only be selected if 
the
first date is selectable. Since the Monday at the start of this week isn't 
selectable
this week can't be selected.

Or was it Monday when you were testing this? It is possible there is a bug when 
it is
the day which is the first day of the week and you try to select that week...

Original comment by kelvin.l...@gmail.com on 28 Apr 2010 at 6:46

GoogleCodeExporter commented 8 years ago
I checked it on Tuesday, but a user of the form tried it on Monday and it 
wouldn't
work.  I have the script set to recognize Sunday as the first day of the week 
though.
 I suppose this matters.

The script is included in an "availability" form, which allows users to report 
the
hours/days they are available for work in upcoming weeks.  I didn't think users 
would
try to report their availability for the current week though - always thought it
would be at least a week in advance.

Original comment by rshbos...@gmail.com on 28 Apr 2010 at 7:17