#7510 closed bug (fixed)
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.
Change History (3)
comment:1 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 11 years ago by
Widget: Wrap the remove event trigerring in a try/catch. Fixes #7510 - jQuery.data throws a script error in certain circumstances.
Changeset: c7c5b6b15cd24ae0de95ff576f8ca6b6b8892ced
comment:3 Changed 11 years ago by
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.