#8011 closed bug (fixed)
Datepicker: Dialog not closing on second trigger if opened using image
Reported by: | mereth | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.8.18 |
Component: | ui.datepicker | Version: | 1.8.17 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I have two datepicker on the same page and both are their own trigger.
If i click on the first trigger, the datepicker popup, then i click directly on the second trigger, the first dialog is closed and the new dialog is opened at the right place, but i can't close this dialog by clicking out of it or selecting a date, i have to reopen the first one with the first trigger.
I reproduce this behavior under ie8/i8-compatibilymode/firefox9 with jquery ui 1.8.17. Reverting to jquery ui 1.8.16 fix this issue.
http://jsfiddle.net/bN5EU/ (working test case, jsfiddle use 1.8.16 atm)
Regards
Change History (10)
comment:1 Changed 11 years ago by
comment:2 Changed 11 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
You can't have two fields with the same id; that's invalid HTML.
comment:3 Changed 11 years ago by
Sorry but it was just a copy/paste typo in jsfiddle, btw it can't be reproduce in it because it use jquery-ui 1.8.16 where this issue doesn't occur.
You can find a new test case with both working (1.8.16) and not (1.8.17) scenarii here : http://dl.free.fr/vlIRYhmyO
Regards
ps: I can't reopen the issue, i hope this will not fall in the abyss of the internet :)
comment:4 Changed 11 years ago by
It works perfectly fine for me with 1.8.17: http://jsfiddle.net/bN5EU/1/
comment:5 Changed 11 years ago by
I hope this video will help you to see the difficulties i have to close the second datepicker dialog.
comment:6 Changed 11 years ago by
Resolution: | invalid |
---|---|
Status: | closed → reopened |
Summary: | dialog not closing on second trigger → Datepicker: Dialog not closing on second trigger if opened using image |
This issue only occurs if you open the second datepicker using the image while the first datepicker is open.
comment:7 Changed 11 years ago by
Status: | reopened → open |
---|
comment:8 Changed 11 years ago by
Milestone: | 1.9 → 1.8.18 |
---|---|
Resolution: | → fixed |
Status: | open → closed |
Fixed with #5818.
Forgot to say i use jquery 1.7.1