#2923: "CKEDITOR is not defined" on page reload when editor focused.
-----------------------------+----------------------------------------------
 Reporter:  garry.yao        |       Owner:  fredck      
     Type:  Bug              |      Status:  assigned    
 Priority:  Normal           |   Milestone:  CKEditor 3.0
Component:  General          |     Version:  SVN         
 Keywords:  Firefox Review?  |  
-----------------------------+----------------------------------------------

Comment(by garry.yao):

 It's actually a very edge bug for FF, the native event which caused the
 error is found to be '''keyup''', which only happened when reloading page
 with key shortcut like ''F5'' and ''Ctrl-R'', it could be identified with
 the following modification to the same patching position as in
 ''2923_3.patch''.
 {{{
                         if ( typeof CKEDITOR != 'undefined' )
                                 domObject.fire( eventName, new
 CKEDITOR.dom.event( domEvent ) );
                         else
                                 throw new Error( domEvent.type );

 }}}
 So at the point of this error, the whole JavaScript global context which
 is ''window'' doesn't present at all, we need to make the sniffer happened
 at JavaScript Core level instead of the host environment perhaps.

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/2923#comment:7>
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

Reply via email to