#8174 closed bug (fixed)
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.
Change History (10)
comment:1 Changed 11 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
comment:2 Changed 11 years ago by
comment:3 Changed 11 years ago by
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.
comment:4 Changed 11 years ago by
Resolution: | duplicate |
---|---|
Status: | closed → reopened |
comment:6 Changed 11 years ago by
Status: | reopened → open |
---|
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.
comment:7 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | open → closed |
Datepicker: Don't set _curInst in hideDatepicker. Fixes #8174 - jQuery datepicker is stuck open if label is clicked from open state.
Changeset: 4ade13450e7145100dcce3356eb1449e1a5f7090
comment:8 Changed 11 years ago by
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
comment:9 Changed 11 years ago by
Milestone: | 1.9 → 1.8.19 |
---|
Duplicate of #7722.