Bug Tracker

Opened 15 years ago

Closed 13 years ago

#2814 closed bug (fixed)

originalTarget not copied to the cloned event object

Reported by: arrix Owned by: john
Priority: major Milestone: 1.4.3
Component: event Version: 1.4.2
Keywords: Cc:
Blocked by: Blocking:

Description

in event.fix

var props = "altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target timeStamp toElement type view wheelDelta which".split(" ");

originalTarget should be included too

Change History (5)

comment:1 Changed 15 years ago by arrix

Resolution: fixed
Status: newclosed

fixed in [5492]

comment:2 Changed 15 years ago by arrix

Resolution: fixed
Status: closedreopened

sorry. originalTarget is mozilla specific and is rarely useful when we have target, currentTarget, relatedTarget available. so it should not be included here. http://developer.mozilla.org/en/docs/DOM:event:Comparison_of_Event_Targets

comment:3 Changed 15 years ago by flesler

need: ReviewCommit
Owner: set to arrix
Status: reopenednew

So arrix.. this was never reverted.. could you handle this ?

comment:4 Changed 15 years ago by john

Milestone: 1.2.41.3.2
Owner: changed from arrix to john
Version: 1.2.31.3.1

I can try and revert this.

comment:5 Changed 13 years ago by john

Milestone: 1.3.21.4.3
Resolution: fixed
Status: newclosed
Version: 1.3.11.4.2
Note: See TracTickets for help on using tickets.