Ticket #4549: 4549.patch
File 4549.patch, 1.3 KB (added by , 13 years ago) |
---|
-
_source/core/config.js
40 40 * // Do not load any custom configuration file. 41 41 * CKEDITOR.replace( 'myfiled', { customConfig : '' } ); 42 42 */ 43 customConfig : CKEDITOR.getUrl( 'config.js' ),43 customConfig : 'config.js', 44 44 45 45 /** 46 46 * Whether the replaced element (usually a textarea) is to be updated -
_source/core/editor.js
27 27 var loadConfigLoaded = {}; 28 28 var loadConfig = function( editor ) 29 29 { 30 var customConfig = editor.config.customConfig;30 var customConfig = CKEDITOR.getUrl( editor.config.customConfig ); 31 31 32 32 // Check if there is a custom config to load. 33 33 if ( !customConfig ) … … 44 44 45 45 // If there is no other customConfig in the chain, fire the 46 46 // "configLoaded" event. 47 if ( editor.config.customConfig== customConfig || !loadConfig( editor ) )47 if ( CKEDITOR.getUrl( editor.config.customConfig ) == customConfig || !loadConfig( editor ) ) 48 48 editor.fireOnce( 'customConfigLoaded' ); 49 49 } 50 50 else