Search and Top Navigation
#8011 closed bug (fixed)
Opened January 13, 2012 11:22PM UTC
Closed January 20, 2012 04:29PM UTC
Last modified January 25, 2012 09:17PM UTC
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
Attachments (0)
Change History (10)
Changed January 13, 2012 11:23PM UTC by comment:1
Changed January 16, 2012 01:29PM UTC by comment:2
resolution: | → invalid |
---|---|
status: | new → closed |
You can't have two fields with the same id; that's invalid HTML.
Changed January 16, 2012 06:16PM UTC by comment:3
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 :)
Changed January 16, 2012 06:24PM UTC by comment:4
It works perfectly fine for me with 1.8.17: http://jsfiddle.net/bN5EU/1/
Changed January 16, 2012 06:40PM UTC by comment:5
I hope this video will help you to see the difficulties i have to close the second datepicker dialog.
Changed January 16, 2012 06:46PM UTC by comment:6
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.
Changed January 16, 2012 06:46PM UTC by comment:7
status: | reopened → open |
---|
Changed January 20, 2012 04:29PM UTC by comment:8
milestone: | 1.9 → 1.8.18 |
---|---|
resolution: | → fixed |
status: | open → closed |
Fixed with #5818.
Changed January 20, 2012 09:00PM UTC by comment:9
Thanks
Changed January 25, 2012 09:17PM UTC by comment:10
#8059 is a duplicate of this ticket.
Forgot to say i use jquery 1.7.1