Index: ckeditor_source.js
===================================================================
--- ckeditor_source.js (revision 6681)
+++ ckeditor_source.js (working copy)
@@ -20,6 +20,16 @@
CKEDITOR._autoLoad = 'core/ckeditor';
// Include the loader script.
- document.write(
- '' );
+ if ( document.body && (!document.readyState || document.readyState == 'complete') )
+ {
+ var script = document.createElement( 'script' );
+ script.type = 'text/javascript';
+ script.src = CKEDITOR.getUrl( '_source/core/loader.js' );
+ document.body.appendChild( script );
+ }
+ else
+ {
+ document.write(
+ '' );
+ }
}