YUILibrary - Open source JavaScript and CSS for building richly interactive software.
Fork YUI on GitHub

YUI 2.x

Ticket #2527838 (closed defect)

Reporter


Jenny Han Donnelly
Opened: 04/8/09
Last modified: 06/24/09
Status: closed
Type: defect

Owner


Adam Moore
Target Release: 3.0.0 Beta1
Priority: P3 (normal)
Summary: Can't pass existing Facade to Custom Event handler
Description:

I have chained events. Each handler fires an event, passing along new data that is mixed with the data that was passed to it. Ideally, I'd like to mix the new data with the Facade that was passed,
thus preserving all the previous data values passed along by previous events.

However, In line 741 of event-custom-debug.js, if the data is a Facade, it doesn't get mixed in the new Facade that is created for the event being fired.

Would like a way to pass along growing bundles of data in chained events.

Type: defect Observed in Version: 3.0.0 PR2
Component: Event Severity: S3 (normal)
Assigned To: Adam Moore Target Release: 3.0.0 Beta1
Location: Library Code Priority: P3 (normal)
Tags: Relates To:
Browsers: N/A
URL:
Test Information:

Change History

Adam Moore

YUI Developer

Posted: 04/9/09
  • milestone changed to 3.0.0 Beta1
  • status changed from new to accepted

Adjust logic to handle when the source of the event facade is from fire() rather than bubble()

Adam Moore

YUI Developer

Posted: 04/20/09
  • browser changed to N/A
  • status changed from accepted to checkedin

George

YUI Developer

Posted: 06/24/09
  • status changed from checkedin to closed

Changing bug state from checkedin to closed as all changes are now available in 3.0.0 beta 1