#2085: Error in JS with unknown function at time of unload.
--------------------------------------------+-------------------------------
  Reporter:  Fil                            |       Owner:                    
      Type:  Bug                            |      Status:  new               
  Priority:  Normal                         |   Milestone:                    
 Component:  Project : MediaWiki+FCKeditor  |     Version:  SVN               
Resolution:                                 |    Keywords:  Pending WorksForMe
--------------------------------------------+-------------------------------
Comment (by Fil):

 Hi there,

 I'm using MediaWiki 1.11.2 with a monobook skin for testing (same error on
 all other skins) on FF 2.0.0.13. I am running one other extension -
 TopTenPages but apart from that my install of MediaWiki and FCKEditor is
 vanilla.

 The error I receive if I run the original code is :

 mwSetupToolbar is not defined
 window.removeEventListener( 'load', mwSetupToolbar, false ) ;

 This error disappears and the FCKEditor appears in place of the standard
 MediaWiki editor if the call to define the mwSetupToolbar is placed above
 the condition within which the eventlistener is removed - as per the
 amended code.

 I receive no errors if I run the amended code.

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/2085#comment:3>
FCKeditor <http://www.fckeditor.net>
The text editor for Internet
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to