Skip to main content

Bug Tracker

Side navigation

#14470 closed bug (notabug)

Opened October 21, 2013 06:49AM UTC

Closed October 21, 2013 01:56PM UTC

datepicker numberOfMonths and changeMonth do not work together as desired

Reported by: anonymous Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.7.1
Keywords: Cc:
Blocked by: Blocking:
Description

The function _generateMonthYearHeader is't correct.

Example

I want to show 2 months ( numberOfMonths: 2 )

I want to change the month and year for both months (changeMonth : true, changeYear : true_

hideIfNoPrevNext is set to true

Because of the check for 'secondary' in the function _generateMonthYearHeader, only the first month, header allows changing the month and year. This is not correct.

Attachments (0)
Change History (1)

Changed October 21, 2013 01:56PM UTC by timmywil comment:1

resolution: → notabug
status: newclosed

I'm not sure which datepicker you are using, but I suggest opening an issue with that repository. This is not a jQuery core bug.