Skip to main content

Search and Top Navigation

#8174 closed bug (fixed)

Opened March 09, 2012 10:46AM UTC

Closed April 03, 2012 07:36PM UTC

Last modified May 10, 2012 09:38PM UTC

jQuery datepicker is stuck open if label is clicked from open state.

Reported by: lalalamoo Owned by:
Priority: minor Milestone: 1.8.19
Component: ui.datepicker Version: 1.8.18
Keywords: Cc:
Blocked by: Blocking:
Description

I read about the problem here:

http://stackoverflow.com/questions/9427073/jquery-datepicker-is-stuck-open-if-label-is-clicked-from-open-state

Then saw the bug wasn't already filed in the bugtracker and decided to post this.

Basically changing

self._curInst = null;

to

this._curInst = null;

in Datepicker.prototype._hideDatepicker, postProcess() seems to fix the bug.

Attachments (0)
Change History (10)

Changed March 09, 2012 12:51PM UTC by scottgonzalez comment:1

resolution: → duplicate
status: newclosed

Changed March 09, 2012 12:51PM UTC by scottgonzalez comment:2

Duplicate of #7722.

Changed March 26, 2012 03:11PM UTC by lalalamoo comment:3

Actually I tested with 1.8.18 and the problem is still there!

Basically clicking on a label when the datepicker is open makes the widget stuck open.

If you could please read again the problem on the link I provided you'd realize that 1.8.18 is still affected.

Thanks.

Changed March 26, 2012 03:15PM UTC by scottgonzalez comment:4

resolution: duplicate
status: closedreopened

Changed March 30, 2012 02:52PM UTC by scottgonzalez comment:5

#8228 is a duplicate of this ticket.

Changed March 30, 2012 03:10PM UTC by scottgonzalez comment:6

status: reopenedopen

Waiting on a response to #7722. The proposed fix in this ticket is definitely wrong, as noted in the SO thread. Removing the line would be better than assigning a value to a DOM element.

Changed April 03, 2012 07:36PM UTC by Scott González comment:7

resolution: → fixed
status: openclosed

Datepicker: Don't set _curInst in hideDatepicker. Fixes #8174 - jQuery datepicker is stuck open if label is clicked from open state.

Changeset: 4ade13450e7145100dcce3356eb1449e1a5f7090

Changed April 03, 2012 07:38PM UTC by Scott González comment:8

Datepicker: Don't set _curInst in hideDatepicker. Fixes #8174 - jQuery datepicker is stuck open if label is clicked from open state.

(cherry picked from commit 4ade13450e7145100dcce3356eb1449e1a5f7090)

Conflicts:

ui/jquery.ui.datepicker.js

Changeset: fc6e72bf7399ecde5f15de88fd750a9a49b55b77

Changed April 03, 2012 07:38PM UTC by scottgonzalez comment:9

milestone: 1.91.8.19

Changed May 10, 2012 09:38PM UTC by scottgonzalez comment:10

#8311 is a duplicate of this ticket.