Ticket #1482: 1482.patch

File 1482.patch, 755 bytes (added by Artur Formella, 11 years ago)
  • fck.js

     
    984984        // Listen for keystroke events.
    985985        FCK.KeystrokeHandler.AttachToElement( FCK.EditorDocument ) ;
    986986
    987         if ( FCK._ForceResetIsDirty )
    988                 FCK.ResetIsDirty() ;
    989 
    990987        // This is a tricky thing for IE. In some cases, even if the cursor is
    991988        // blinking in the editing, the keystroke handler doesn't catch keyboard
    992989        // events. We must activate the editing area to make it work. (#142).
     
    995992
    996993        FCK.OnAfterSetHTML() ;
    997994
     995        if ( FCK._ForceResetIsDirty )
     996                FCK.ResetIsDirty() ;
     997
    998998        // Restore show blocks status.
    999999        FCKCommands.GetCommand( 'ShowBlocks' ).RestoreState() ;
    10001000
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy