Opened 3 years ago

Last modified 2 months 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:

Description

What I did:

Result:

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

Expectation:

  • First date picker continues to work

Tested with Firefox 40.0.3 on Windows 7 Pro SP1

Change History (4)

comment:1 Changed 3 years ago by mme

  • similar to ticket 10698
  • maybe caused by ticket 10668

comment:2 Changed 3 years ago by mme

The error does not occur with the following patch:

5769c5769
< 	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 3 years ago by Scott González

Status: newopen

comment:4 Changed 2 months ago by ktowen

Any news with this?

Note: See TracTickets for help on using tickets.