Skip to main content

Search and Top Navigation

#14578 open bug ()

Opened September 15, 2015 05:08PM UTC

Last modified November 21, 2018 05:24AM UTC

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

Attachments (0)
Change History (4)

Changed September 16, 2015 06:59AM UTC by mme comment:1

  • similar to ticket 10698
  • maybe caused by ticket 10668

Changed September 16, 2015 07:21AM UTC by mme comment:2

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])) {

Changed September 16, 2015 02:26PM UTC by scottgonzalez comment:3

status: newopen

Changed November 21, 2018 05:24AM UTC by ktowen comment:4

Any news with this?