Opened 9 years ago
Closed 9 years ago
#10102 closed bug (wontfix)
IE7-8: input that was added latest is used by all previous DPs
Reported by: | ledestin | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | none |
Component: | ui.datepicker | Version: | 1.10.4 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
jQuery 1.10.2 jQueryUI 1.10.4 Browser: IE7-8 at least (Chrome fine) OS: Windows XP
Test case: https://dl.dropboxusercontent.com/u/87810751/jqueryui/datepicker.html
What happens: all datepickers use one input. What should happen: each datepicker should use corresponding to it input.
Change History (5)
comment:1 Changed 9 years ago by
comment:2 Changed 9 years ago by
- jsbin doesn't work in IE7 emulation.
- What kind of rewrite do you suggest?
comment:3 Changed 9 years ago by
jsBin will work in IE7 if you drop the "/edit" off the URL. The rewrite for datepicker I am referring to is documented here: http://wiki.jqueryui.com/w/page/12137778/Datepicker.
comment:4 Changed 9 years ago by
Ok, I've implemented a workaround to fix the problem. I copy HTML text before initialising datepickers and then append it to the table when needed.
comment:5 Changed 9 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
jQuery UI does not support cloning, and while this isn't strictly speaking a clone (i.e. you're not using the
clone()
method), copying the HTML of a widget is not a good idea. I am however confused why this only happens in IE7 and IE8. I feel like this has come up before.I reduced this a bit: http://jsbin.com/jorug/1/edit. I'm not too concerned about this because it won't be an issue after the rewrite.