[TYPO3-core] RFC: update prototype and scriptacolous

Oliver Hader oh at inpublica.de
Fri Oct 19 09:27:07 CEST 2007


Hi Ingo,

Ingo Renner schrieb:
> Ingo Renner wrote:
> 
>> This is an SVN patch request.
>>
>> Type:
>> Update of 3rd party library
> 
> comitted to trunk

I just noticed, that the observer API in prototype 1.6 has changed. In
earlier versions all registered event listeners were stored in the array
"Event.observers" which isn't available for 1.6 anymore.

But for the removal of an event it's possible to use now one of the
following calls:
* Event.stopObserving(element);
* Event.stopObserving(element, 'mouseover');

In earlier versions you had also to pass the correct event handling
callback for this removal.

So, I suggest that anybody (e.g. also extensions developers) have a look
at their JavaScript codes if there is an own and individual event
handling implemented using prototype.


olly
-- 
Oliver Hader
http://inpublica.de/


More information about the TYPO3-team-core mailing list