Search and Top Navigation
#4865 closed bug (fixed)
Opened September 18, 2009 11:10AM UTC
Closed February 23, 2010 02:39AM UTC
maxDate Firefox 3.5.2 issue - calendar locked
| Reported by: | idlesign | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.8 | 
| Component: | ui.datepicker | Version: | 1.7.2 | 
| Keywords: | Cc: | ||
| Blocked by: | Blocking: | 
Description
The following code should set maxDate of '#pea_date_ret' to the date one month after the date selected at '#pea_date'.
It works fine in IE6 and Opera 9.64, but not in Firefox 3.5.2. In Firefox '#pea_date_ret' is locked at current month (navigation is not available).
	    $('#pea_date').datepicker({
	       onSelect: function(text, inst) { 
		    var max_date=new Date(parseInt(inst.currentYear), parseInt(inst.currentMonth)+1, parseInt(inst.currentDay));
		    $('#pea_date_ret').datepicker('change', {
			defaultDate: $('#pea_date').datepicker('getDate'),
			maxDate: max_date
		    });
		}
	    });
Attachments (0)
Change History (6)
Changed September 25, 2009 03:43AM UTC by comment:1
Changed November 16, 2009 01:08PM UTC by comment:2
| milestone: | TBD → 1.8 | 
|---|---|
| priority: | critical → major | 
| summary: | maxDate Firefox 2.5 issue - calendar locked → maxDate Firefox 3.5.2 issue - calendar locked | 
Changed November 29, 2009 11:27PM UTC by comment:3
Unable to reproduce in FF 3.5.5.
Changed January 15, 2010 07:52AM UTC by comment:4
Oops seems to be in boolean returned by _isInRange() method.
Changed February 22, 2010 04:42PM UTC by comment:5
Unable to reproduce, looks to me like it was fixed in r3671 by kbwood when fixing #5026
Changed February 23, 2010 02:39AM UTC by comment:6
| resolution: | → fixed | 
|---|---|
| status: | new → closed | 
Title typo "Firefox 3.5.2", not "Firefox 2.5".