Ticket #2821: 2821.patch

File 2821.patch, 1.2 KB (added by Alfonso Martínez de Lizarrondo, 11 years ago)

Proposed patch

  • _whatsnew.html

     
    3939        <ul>
    4040                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2777">#2777</a>] Merging
    4141                        cells between table header and table body is no longer possible.</li>
     42                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2821">#2821</a>] Configuration
     43                        items that used floating point numbers were parsed as integers.</li>
    4244                <li>Language file updates for the following languages:
    4345                        <ul>
    4446                                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2801">#2801</a>] Hebrew
  • editor/_source/internals/fckconfig.js

     
    9797                        this.PageConfig[ sKey ] = false ;
    9898
    9999                else if ( sVal.length > 0 && !isNaN( sVal ) )   // If it is a number.
    100                         this.PageConfig[ sKey ] = parseInt( sVal, 10 ) ;
     100                        this.PageConfig[ sKey ] = parseFloat( sVal ) ;
    101101
    102102                else                                                                            // In any other case it is a string.
    103103                        this.PageConfig[ sKey ] = sVal ;
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy