Skip to main content

Search and Top Navigation

#6949 closed bug (fixed)

Opened February 07, 2011 08:45AM UTC

Closed May 06, 2011 05:07PM UTC

Last modified May 12, 2011 06:24PM UTC

Datepicker: Rendering problem after changing numberOfMonths option

Reported by: KrishnarajD Owned by:
Priority: minor Milestone: 1.8.13
Component: ui.datepicker Version: 1.8.6
Keywords: Cc:
Blocked by: Blocking:
Description

When i try to set the datepicker's "numberOfMonths" value to 2 at runtime, the datepicker alignment was not proper.

//Checked by using the below code snippet.
$( "#datepicker" ).datepicker( "option", "numberOfMonths", 2 );

Checked in the below link using Firebug tool.

http://jqueryui.com/demos/datepicker/#multiple-calendars

Attachments (0)
Change History (5)

Changed February 07, 2011 01:06PM UTC by scottgonzalez comment:1

component: ui.coreui.datepicker
status: newopen

Changed May 06, 2011 03:47PM UTC by kzys comment:2

What is your browser? I can't reproduce alignment problem with Firefox 4 and Safari 5. My test code is below.

        $( "#datepicker" ).datepicker({
            numberOfMonths: 2,
            showButtonPanel: true
        });

Changed May 06, 2011 05:04PM UTC by scottgonzalez comment:3

@kzys: The problem is with $( "#datepicker" ).datepicker( "option", "numberOfMonths", 2 ) after initialization.

Changed May 06, 2011 05:07PM UTC by scottgonzalez comment:4

milestone: 1.91.8.13
resolution: → fixed
status: openclosed

Fixed in 116acb4cb28c4a091547648132316b7f8e9e6072 when #6704 was fixed.

Changed May 12, 2011 06:24PM UTC by scottgonzalez comment:5

summary: Datepicker-Issue with "numberOfMonths" optionDatepicker: Rendering problem after changing numberOfMonths option