#7686 closed bug (fixed)
infinite loop when onclose event shows a second calendar
Reported by: | vegancorr2 | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.8.17 |
Component: | ui.datepicker | Version: | 1.8.16 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
It worked fine in 1.8.12. In 1.8.13 a bug was introduced and the second calendar wouldn't close. In 1.8.16 the second calendar wouldn't fire up since onClose from the first calendar remains stuck in a continuous loop.
jQuery(function($) { jQuery('#fromDate').datepicker({ 'onClose':function(selectedDate) { console.log('loop'); $('#toDate').datepicker('show'); } }); jQuery('#toDate').datepicker({ }); });
Change History (3)
comment:1 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 12 years ago by
Datepicker: Added additional check to checkExternalClick to work when clicking in another datepicker and removed old fix. Fixes #7686 - infinite loop when onclose event shows a second calendar (cherry picked from commit af76ad1c82625521b94bfc8bf967d9ca4f44da37)
Changeset: 872387abd5ab59e00df108438ae5bba76df1138a
comment:3 Changed 12 years ago by
Milestone: | 1.9 → 1.8.17 |
---|
Note: See
TracTickets for help on using
tickets.
Fixed in af76ad1c82625521b94bfc8bf967d9ca4f44da37.