parmarmayur9090 / jquery-datepicker

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

End date problem with 'only dates in the past selectable' #192

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Set end date to today's date, select today's date from calendar

What is the expected output? What do you see instead?
Expect to see today's date displayed in text box, instead it remains blank.

Please provide a URL to a page displaying the problem.
Your own example...
http://www.kelvinluck.com/assets/jquery/datePicker/v2/demo/datePickerOnlyPastDat
e.html

What version of the datepicker are you using? On what operating system? And
Which Browser?
 * $Id: jquery.datePicker.js 94 2010-01-25 02:25:27Z kelvin.luck $
Win Vista 64bit (reproduced on XP) in Firefox and IE

Please provide any additional information below.

Original issue reported on code.google.com by nepenthe...@gmail.com on 6 Apr 2010 at 3:09

GoogleCodeExporter commented 8 years ago
Btw - removing lines 688-691 (below) of datePicker.js solves this problem.
if (d < this.startDate || d > this.endDate) {
// Don't allow people to select dates outside range...
return;
}

Original comment by nepenthe...@gmail.com on 6 Apr 2010 at 3:45