Bug Tracker

Opened 9 years ago

Closed 9 years ago

#14470 closed bug (notabug)

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.

Change History (1)

comment:1 Changed 9 years ago by Timmy Willison

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.

Note: See TracTickets for help on using tickets.