Opened 7 years ago

Last modified 4 years ago

#14578 open bug

Destroying a date picker breaks another one

Reported by: mme Owned by:
Priority: minor Milestone: none
Component: ui.datepicker Version: 1.11.4
Keywords: Cc:
Blocked by: Blocking:


What I did:


  • Error on console: "TypeError: datepicker_instActive is null"


  • First date picker continues to work

Tested with Firefox 40.0.3 on Windows 7 Pro SP1

Change History (4)

comment:1 Changed 7 years ago by mme

  • similar to ticket 10698
  • maybe caused by ticket 10668

comment:2 Changed 7 years ago by mme

The error does not occur with the following patch:

< 	if (!$.datepicker._isDisabledDatepicker( datepicker_instActive.inline? datepicker_instActive.dpDiv.parent()[0] : datepicker_instActive.input[0])) {
> 	if (!datepicker_instActive || !$.datepicker._isDisabledDatepicker( datepicker_instActive.inline? datepicker_instActive.dpDiv.parent()[0] : datepicker_instActive.input[0])) {

comment:3 Changed 7 years ago by Scott González

Status: newopen

comment:4 Changed 4 years ago by ktowen

Any news with this?

Note: See TracTickets for help on using tickets.