Ticket #10004 (closed bug: invalid)
»e.cancelBubble = true;« does often raise "... member not found .." for IE's <= 8
|Reported by:||peter.seliger@…||Owned by:|
beeing forced to execute »e.cancelBubble = true;« does often raise an error for Internet Explorer Versions 8 and beneath.
»... member not found ...« will be raised in line/row 3172 as of jquery-1.6.2.js. that is the last assignment of method [stopPropagation] of [jQuery.Event.prototype].
after 2 hours of analyzing my and jquery's code execution pingpong I wanted to "hotfix" this problem. But as it turned out a simple replacement of
e.cancelBubble = true;
('cancelBubble' in e) && (e.cancelBubble = true);
did not work. Even though logging did assure that there is a property called 'cancelBubble' of [e] accessing this very property by [e.cancelBubble] will fail not always but often enough.
Wrapping »e.cancelBubble = true;« into an ugly try catch block did solve the problem at last. But this surely was not my favourit solution.
thanks for having a look on it - so long - Peter Seliger
- Priority changed from undecided to low
- Resolution set to invalid
- Status changed from new to closed
- Component changed from unfiled to ajax