Ticket #4940: 4940.patch

File 4940.patch, 730 bytes (added by Frederico Caldeira Knabben, 11 years ago)
  • _source/core/editor.js

     
    2727        var loadConfigLoaded = {};
    2828        var loadConfig = function( editor )
    2929        {
    30                 var customConfig = CKEDITOR.getUrl( editor.config.customConfig );
     30                var customConfig = editor.config.customConfig;
    3131
    3232                // Check if there is a custom config to load.
    3333                if ( !customConfig )
    3434                        return false;
    3535
     36                customConfig = CKEDITOR.getUrl( customConfig );
     37
    3638                var loadedConfig = loadConfigLoaded[ customConfig ] || ( loadConfigLoaded[ customConfig ] = {} );
    3739
    3840                // If the custom config has already been downloaded, reuse it.
© 2003 – 2021 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy