Ticket #4270: 4270.patch

File 4270.patch, 567 bytes (added by Tobiasz Cudnik, 10 years ago)
  • _source/core/lang.js

     
    9494                {
    9595                        // If no languageCode - fallback to browser or default.
    9696                        // If languageCode - fallback to no-localized version or default.
    97                         if ( !languageCode || !CKEDITOR.lang[ languageCode ] )
     97                        if ( !languageCode || !CKEDITOR.lang.languages[ languageCode ] )
    9898                                languageCode = this.detect( defaultLanguage, languageCode );
    9999
    100100                        if ( !this[ languageCode ] )
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy