Bug Tracker

Modify

Ticket #2593 (closed enhancement: invalid)

Opened 6 years ago

Last modified 4 years ago

jquery.datepicker using months instead of prev and next

Reported by: atlithorn Owned by: iMarc
Priority: trivial Milestone: 1.2.4
Component: ui Version: 1.2.3
Keywords: datepicker Cc:
Blocking: Blocked by:

Description

We needed to replace prev and next links with corresponding month names. If you are interested please find included a patch to enable this behaviour. We enable this feature by setting prevText/nextText to null in the options. We also needed to disable currentText so setting that option to null simply blanks the currentText link

Attachments

ui.datepicker.patch Download (1.8 KB) - added by atlithorn 6 years ago.
patch to version 3.4 to enable monthnames instead of prev and next

Change History

Changed 6 years ago by atlithorn

patch to version 3.4 to enable monthnames instead of prev and next

comment:1 Changed 6 years ago by atlithorn

We really do not want to have to change the source but because there is no 'beforeShowMonth' callback (could be at the beginning of _updateDatePicker... and we could update prevText/nextText manually there) we were forced to go this route.

comment:2 Changed 6 years ago by paul

  • Owner changed from paul to iMarc

comment:3 Changed 4 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to invalid

Not a jQuery core bug.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.