Ticket #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: | ||
| Blocking: | Blocked by: |
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
comment:1 Changed 22 months ago by Scott González
- Status changed from new to closed
- Resolution set to fixed
comment:2 Changed 22 months ago by Scott González
Widget: Wrap the remove event trigerring in a try/catch. Fixes #7510 - jQuery.data throws a script error in certain circumstances.
Changeset: c7c5b6b15cd24ae0de95ff576f8ca6b6b8892ced


Widget: Wrap the remove event trigerring in a try/catch. Fixes #7510 - jQuery.data throws a script error in certain circumstances.