Ticket #2396: 2396.patch

File 2396.patch, 1.9 KB (added by Frederico Caldeira Knabben, 16 years ago)
  • _whatsnew.html

     
    115115                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2394">#2394</a>] Fixed JavaScript
    116116                        error with the "split vertically" command in IE when attempting to split cells in the last
    117117                        row of a table.</li>
     118                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2396">#2396</a>] SpellerPages
     119                        was causing a "Permission Denied" error in some situations.</li>
    118120        </ul>
    119121        <p>
    120122                <a href="_whatsnew_history.html">See previous versions history</a></p>
  • editor/_source/internals/fck.js

     
    409409                        FCK.EditorDocument.detachEvent("onselectionchange", Doc_OnSelectionChange ) ;
    410410                }
    411411
     412                FCKTempBin.Reset();
     413
    412414                if ( FCK.EditMode == FCK_EDITMODE_WYSIWYG )
    413415                {
    414416                        // Save the resetIsDirty for later use (async)
    415417                        this._ForceResetIsDirty = ( resetIsDirty === true ) ;
    416 
     418                       
    417419                        // Protect parts of the code that must remain untouched (and invisible)
    418420                        // during editing.
    419421                        data = FCKConfig.ProtectedSource.Protect( data ) ;
  • editor/dialog/fck_spellerpages.html

     
    5252function oSpeller_OnFinished( numberOCorrections )
    5353{
    5454        if ( numberOCorrections > 0 )
    55                 oEditor.FCK.SetData( document.getElementById('txtHtml').value ) ;
     55        {
     56                oEditor.FCK.EditorDocument.body.innerHTML = document.getElementById('txtHtml').value ;
     57                if ( oEditor.FCKBrowserInfo.IsIE )
     58                        oEditor.FCKSelection.Collapse( true ) ;
     59        }
    5660        window.parent.Cancel() ;
    5761}
    5862
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy