Changeset 5197


Ignore:
Timestamp:
02/26/10 10:01:49 (4 years ago)
Author:
fredck
Message:

Urgent fix for the addExternal function as it stopped working if no file name is provided.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CKEditor/trunk/_source/core/resourcemanager.js

    r5189 r5197  
    128128                return CKEDITOR.getUrl( 
    129129                                this.getPath( name ) + 
    130                                 ( ( external && external.file !== null ) ? external.file : this.fileName + '.js' ) ); 
     130                                ( ( external && ( typeof external.file == 'string' ) ) ? external.file : this.fileName + '.js' ) ); 
    131131        }, 
    132132 
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy