#2927: CKEDITOR.event duplicate dom event registration
-----------------------+----------------------------------------------------
Reporter: garry.yao | Owner:
Type: Bug | Status: new
Priority: High | Milestone: CKEditor 3.0
Component: General | Version: SVN
Keywords: |
-----------------------+----------------------------------------------------
Dom event delegation registration is currently incorrect, if the specified
event were registered twice, the listener function suffer from duplicate
invocation.
Reproduce Steps:
1. Open one editor page in FF
1. Execute the following codes through console:
{{{
var body = CKEDITOR.document.getBody();
body.on('click', function(){
alert('first');
});
body.on('click', function(){
alert('another');
});
}}}
1. Every listener was invoked twice.
--
Ticket URL: <http://dev.fckeditor.net/ticket/2927>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac