Search and Top Navigation
#7510 closed bug (fixed)
Opened June 27, 2011 04:29PM UTC
Closed August 09, 2011 03:45PM UTC
Last modified August 09, 2011 03:51PM UTC
jQuery.data throws a script error in certain circumstances.
Reported by: | dalugadm | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.8.16 |
Component: | ui.widget | Version: | 1.8.12 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
In IE7 and IE8, a script error can occur in certain circumstances:
Line: 1429
Error: 'undefined' is null or not an object.
This same code works in FireFox (3.6.18). I have not tried any other browsers. This happens in both 1.8.12 and 1.8.13.
You will notice that if you remove the include for JQuery UI, the error does not occur. So, on the surface, it appears to be some type of interaction between JQuery and JQuery UI.
This error can be recreated with the following test case: http://jsfiddle.net/ZP2T6/
Please see this ticket for additional details: http://bugs.jquery.com/ticket/8235
Please let me know if there are additional details you would like.
Attachments (0)
Change History (3)
Changed August 09, 2011 03:45PM UTC by comment:1
resolution: | → fixed |
---|---|
status: | new → closed |
Changed August 09, 2011 03:51PM UTC by comment:2
Widget: Wrap the remove event trigerring in a try/catch. Fixes #7510 - jQuery.data throws a script error in certain circumstances.
Changeset: c7c5b6b15cd24ae0de95ff576f8ca6b6b8892ced
Changed August 09, 2011 03:51PM UTC by comment:3
component: | ui.core → ui.widget |
---|---|
milestone: | 1.9 → 1.8.16 |
I also reopened the core ticket and it's being fixed.
Widget: Wrap the remove event trigerring in a try/catch. Fixes #7510 - jQuery.data throws a script error in certain circumstances.
Changeset: 92766654ae71e653e12ea4b0e43764cdf7b29a79