Ticket #2496: 2496_1.patch

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

Revised 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

     
    409409         */
    410410        EnsureSelection : function()
    411411        {
     412                // Move the focus to the Cancel button so even if the dialog contains a
     413                // contentEditable element the selection is properly restored in the editor #2496
     414                window.focus() ;
     415                $( 'btnCancel' ).focus() ;
     416
    412417                FCK.Selection.Restore() ;
    413418        },
    414419
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy