Show
Ignore:
Timestamp:
2008-03-22 18:53:37 (5 months ago)
Author:
fredck
Message:

Fixed #1965 : IE was having problems with SpellerPages, causing some errors to be thrown when completing the spell checking in some situations.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • FCKeditor/trunk/editor/fckdialog.html

    r1688 r1777  
    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 concurrency 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