Changeset 1726


Ignore:
Timestamp:
03/18/2008 08:27:42 PM (7 years ago)
Author:
martinkou
Message:

Fixed #2024 : Fixed JavaScript error in IE when the user tries to open dialogs in Source mode.

Location:
FCKeditor/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • FCKeditor/trunk/_whatsnew.html

    r1725 r1726  
    9191                        will no longer remain behind in the editing area when the placeholder dialog is
    9292                        opened.</li>
     93                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2024">#2024</a>] Fixed
     94                        JavaScript error in IE when the user tries to open dialogs in Source mode.</li>
    9395        </ul>
    9496        <h3>
  • FCKeditor/trunk/editor/_source/internals/fckdialog.js

    r1610 r1726  
    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 ;
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy