Ticket #1965: 1965.patch

File 1965.patch, 1.4 KB (added by Frederico Caldeira Knabben, 12 years ago)
  • _whatsnew.html

     
    107107                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1832">#1832</a>] Calling
    108108                        FCK.InsertHtml() in non-IE browsers would now activate the document processor
    109109                        as expected.</li>
     110                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1965">#1965</a>] IE was
     111                        having problems with SpellerPages, causing some errors t obe thrown when completing
     112                        the spell checking in some situations..</li>
    110113        </ul>
    111114        <h3>
    112115                Version 2.6 Beta 1</h3>
  • editor/fckdialog.html

     
    699699                {
    700700                        // All dialog windows, by default, will fire the "OnSelectionChange"
    701701                        // event, no matter the Ok or Cancel button has been pressed.
    702                         FCK.Events.FireEvent( 'OnSelectionChange' ) ;
     702                        // It seems that OnSelectionChange may enter on a cuncurrency state
     703                        // on some situations (#1965), so we should put the event firing in
     704                        // the execution queue instead of executing it immediately.
     705                        setTimeout( function()
     706                                {
     707                                        FCK.Events.FireEvent( 'OnSelectionChange' ) ;
     708                                }, 0 ) ;
    703709                }
    704710
    705711                FCKDialog.OnDialogClose( window ) ;
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy