Ticket #3983: 3983.patch

File 3983.patch, 1.9 KB (added by Frederico Caldeira Knabben, 15 years ago)
  • _source/plugins/toolbar/plugin.js

     
    127127
    128128                                                for ( var r = 0 ; r < toolbar.length ; r++ )
    129129                                                {
    130                                                         var row = toolbar[ r ],
    131                                                                 toolbarId = 'cke_' + CKEDITOR.tools.getNextNumber(),
     130                                                        var row = toolbar[ r ];
     131
     132                                                        // It's better to check if the row object is really
     133                                                        // available because it's a common mistake to leave
     134                                                        // an extra comma in the toolbar definition
     135                                                        // settings, which leads on the editor not loading
     136                                                        // at all in IE. (#3983)
     137                                                        if ( !row )
     138                                                                continue;
     139
     140                                                        var toolbarId = 'cke_' + CKEDITOR.tools.getNextNumber(),
    132141                                                                toolbarObj = { id : toolbarId, items : [] };
    133142
    134143                                                        if ( groupStarted )
  • CHANGES.html

     
    153153                <li><a href="http://dev.fckeditor.net/ticket/3793">#3793</a> : Combined images into sprites.</li>
    154154                <li><a href="http://dev.fckeditor.net/ticket/3783">#3783</a> : Fixed indenting command in table cells create collapsed paragraph.</li>
    155155                <li><a href="http://dev.fckeditor.net/ticket/3968">#3968</a> : About dialog layout was broken with IE+Standards+RTL.</li>
    156                 <li><a href="http://dev.fckeditor.net/ticket/3991">#3991</a> : In IE quirks, text was not visible in v2 and office2003 skins.</li>             
     156                <li><a href="http://dev.fckeditor.net/ticket/3991">#3991</a> : In IE quirks, text was not visible in v2 and office2003 skins.</li>
     157                <li><a href="http://dev.fckeditor.net/ticket/3983">#3983</a> : In IE, we&#39;ll now
     158                        silently ignore wrong toolbar definition settings which have extra commas being
     159                        left around.</li>               
    157160        </ul>
    158161        <h3>
    159162                CKEditor 3.0 RC</h3>
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy