Hi there,
I think this one has been fixed already:
http://dev.jquery.com/ticket/2947
You might want to grab a copy of the svn version and see if it works
there.
--Karl
____________
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Sep 9, 2008, at 12:32 PM, [EMAIL PROTECTED] wrote:
Hi, All!
I can't submit bug into bug tracker - it says i have no rights.
I found out that "fix(event)" method in 1.2.6 doesn't copy property
"altKey" from original event.
I think the cause is the incorrect iteration over array:
var originalEvent = event;
event = { originalEvent: originalEvent };
var props = "altKey attrChange attrName bubbles button
cancelable
charCode clientX clientY ctrlKey currentTarget data detail eventPhase
fromElement handler keyCode metaKey newValue originalTarget pageX
pageY prevValue relatedNode relatedTarget screenX screenY shiftKey
srcElement target timeStamp toElement type view wheelDelta
which".split(" ");
for ( var i=props.length; i; i-- )
event[ props[i] ] = originalEvent[ props[i] ];
Correct code should looks like:
for ( var i=props.length; i; i-- )
event[ props[i-1] ] = originalEvent[ props[i-1] ];
// Vadim