Skip to main content

Bug Tracker

Side navigation

#2814 closed bug (fixed)

Opened May 07, 2008 06:08AM UTC

Closed September 24, 2010 09:45PM UTC

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

Attachments (0)
Change History (5)

Changed May 07, 2008 04:38PM UTC by arrix comment:1

resolution: → fixed
status: newclosed

fixed in [5492]

Changed May 08, 2008 01:37AM UTC by arrix comment:2

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

Changed May 16, 2008 03:54AM UTC by flesler comment:3

need: ReviewCommit
owner: → arrix
status: reopenednew

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

Changed January 27, 2009 05:24AM UTC by john comment:4

milestone: 1.2.41.3.2
owner: arrixjohn
version: 1.2.31.3.1

I can try and revert this.

Changed September 24, 2010 09:45PM UTC by john comment:5

milestone: 1.3.21.4.3
resolution: → fixed
status: newclosed
version: 1.3.11.4.2