#3112: Duplicate DOM event handlers are registered in IE.
-----------------------+----------------------------------------------------
Reporter: martinkou | Owner: martinkou
Type: Bug | Status: new
Priority: High | Milestone: CKEditor 3.0
Component: General | Version: SVN
Keywords: IE |
-----------------------+----------------------------------------------------
To reproduce:
1. Open replacebyclass.html.
2. Type the following code in the URL bar:
{{{
javascript:
void((f=function(){alert('hi!');},body=CKEDITOR.document.getBody(),body.on('click',f)));
}}}
3. Click on the document body, you should see the message "hi!" appear
once.
4. Now remove the event handler with the following code in the URL bar:
{{{
javascript: void(body.removeListener('click',f));
}}}
5. Click on the document body, you should no longer see the "hi!"
message.
6. Add the same event handler back to the document body.
{{{
javascript: void(body.on('click',f));
}}}
7. Click on the document body.
8. Now you have 2 "hi!" messages - the previous event handler wasn't
really removed!
This issue is blocking #3074.
--
Ticket URL: <http://dev.fckeditor.net/ticket/3112>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac