Skip to main content

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 idlesign comment:1

Title typo "Firefox 3.5.2", not "Firefox 2.5".

Changed November 16, 2009 01:08PM UTC by jzaefferer comment:2

milestone: TBD1.8
priority: criticalmajor
summary: maxDate Firefox 2.5 issue - calendar lockedmaxDate Firefox 3.5.2 issue - calendar locked

Changed November 29, 2009 11:27PM UTC by kbwood comment:3

Unable to reproduce in FF 3.5.5.

Changed January 15, 2010 07:52AM UTC by idlesign comment:4

Oops seems to be in boolean returned by _isInRange() method.

Changed February 22, 2010 04:42PM UTC by btburnett3 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 scottgonzalez comment:6

resolution: → fixed
status: newclosed