Search and Top Navigation
#15102 closed bug (fixed)
Opened November 18, 2016 03:49PM UTC
Closed January 25, 2017 05:29PM UTC
Last modified January 25, 2017 05:30PM UTC
ui.DatePicker Prev Button not working with showing multiple month and showCurrentAtPos not equal to zero
Reported by: | umbraesoulsbane | Owned by: | scottgonzalez |
---|---|---|---|
Priority: | minor | Milestone: | 1.12.2 |
Component: | ui.datepicker | Version: | 1.12.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
When showing more than 1 month at a time and setting showCurrentAtPos/showCurrentMonthAtPos to be anything but 0, the prev button does not operate (does nothing). Next button will properly advance, but previous has no affect. In the same case (showing multiple months) with showCurrentAtPos and showCurrentMonthAtPos set to zero the previous button works properly as expected.
<script> $( "#datepicker" ).datepicker({ numberOfMonths: 3, showButtonPanel: true, showCurrentAtPos: 1, showCurrentMonthAtPos: 1 }); </script> <div id="datepicker"></div>
Attachments (0)
Change History (5)
Changed December 20, 2016 06:34PM UTC by comment:1
Changed January 11, 2017 06:10PM UTC by comment:2
Seems as if showCurrentAtPos is added to offset when refreshing the datepicker, which is not correct. I've already fixed this for me. How can i contribute?
Changed January 11, 2017 06:14PM UTC by comment:3
You'll need to file a pull request on GitHub. You can start by reading https://github.com/jquery/jquery-ui/blob/master/CONTRIBUTING.md and http://contribute.jquery.org/commits-and-pull-requests/
If you have any questions, feel free to ask here or IRC.
Changed January 25, 2017 05:29PM UTC by comment:4
owner: | → scottgonzalez |
---|---|
resolution: | → fixed |
status: | new → closed |
In [changeset:"17404ced478a235651513fa7bef3473ef1b039e8" 17404ce]:
#!CommitTicketReference repository="" revision="17404ced478a235651513fa7bef3473ef1b039e8"
Datepicker: Fix prev/next button behavior with
Fixes #15102
Closes gh-1784
Changed January 25, 2017 05:30PM UTC by comment:5
milestone: | none → 1.12.2 |
---|
#15118 is a duplicate of this ticket.