Ticket #2024: 2024.patch

File 2024.patch, 1.3 KB (added by Martin Kou, 12 years ago)
  • _whatsnew.html

     
    7373                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1055">#1055</a>] Added logic
    7474                        to override JavaScript errors occuring inside the editing frame due to user added
    7575                        JavaScript code.</li>
     76                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2024">#2024</a>] Fixed
     77                        JavaScript error in IE when the user tries to open dialogs in Source mode.</li>
    7678        </ul>
    7779        <h3>
    7880                Version 2.6 Beta 1</h3>
  • editor/_source/internals/fckdialog.js

     
    107107                                // Ensures the editor has the selection focus. (#1801)
    108108                                currentInstance.Focus() ;
    109109
    110                                 var editorDocument = currentInstance.EditorDocument ;
     110                                var editorDocument = ( currentInstance.EditMode == FCK_EDITMODE_WYSIWYG ?
     111                                                currentInstance.EditorDocument :
     112                                                FCKTools.GetElementDocument( currentInstance.EditingArea.Textarea ) ) ;
    111113                                var selection = editorDocument.selection ;
    112114                                var range ;
    113115
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy