Ticket #2496: 2496.patch

File 2496.patch, 1.2 KB (added by Alfonso Martínez de Lizarrondo, 16 years ago)

Proposed patch

  • _whatsnew.html

     
    5050                        character inside text wasn't encoded in Opera and Safari.</li>
    5151                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2467">#2467</a>] Fixed JavaScript
    5252                        error with the fit window command in source mode.</li>
     53                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2496">#2496</a>] Using the Paste
     54                        dialogs in IE might insert the content at the start of the editor.</li>
    5355        </ul>
    5456        <p>
    5557                <a href="_whatsnew_history.html">See previous versions history</a></p>
  • editor/fckdialog.html

     
    684684
    685685        window.Ok = function()
    686686        {
     687                // Move the focus to the OK button so even if the dialog contains a
     688                // contentEditable element the selection is properly restored in the editor #2496
     689                window.focus() ;
     690                $('btnOk').focus() ;
     691
    687692                Selection.EnsureSelection() ;
    688693
    689694                var frmMain = window.frames["frmMain"] ;
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy