Login!
Lost password?
 

MODx Bug/Feature Tracker and Feature Requests

Welcome to the MODx CMS Tracker. Please choose the appropriate project from the drop down menu and provide as much information as possible regarding your server environment and browser. Thanks!

FS#991 — addEventListener API function not adding event

Attached to Project — MODx
Opened by Matthew Pietz (sirlancelot) - Monday, 31 December 2007, 11:03AM
Last edited by Matthew Pietz (sirlancelot) - Monday, 31 December 2007, 01:11PM
Task Type Bug Report
Category Core Distribution
Status Closed
Assigned To Matthew Pietz (sirlancelot)
Operating System All
Severity High
Priority Normal
Reported Version 0.9.6
Due in Version 0.9.6.2
Due Date Undecided
Percent Complete 100%

Details

A fix is shown in the forum thread. The array is not handled as a reference, so the addition will not be saved outside the scope of the function.

Forum thread: http://modxcms.com/forums/index.php/topic,21244.0.html
This task depends upon

This task blocks these from closing
Closed by  Brunaud (coroico)
Friday, 09 May 2008, 09:30AM
Reason for closing:  Fixed
Comment by Matthew Pietz (sirlancelot) - Monday, 31 December 2007, 01:10PM
Comment by Brunaud (coroico) - Friday, 09 May 2008, 09:29AM
I have done a review of the correction. It's correct and a little bit more compact than the soushi suggestion