Ticket #6025: 6025_2.patch

File 6025_2.patch, 736 bytes (added by Tobiasz Cudnik, 14 years ago)
  • _source/plugins/wysiwygarea/plugin.js

     
    891891                                                        {
    892892                                                                if ( isLoadingData )
    893893                                                                        isPendingFocus = true;
    894                                                                 else if ( editor.window )
     894                                                                // Temporary solution caused by #6025, supposed be unified by #6154.
     895                                                                else if ( CKEDITOR.env.opera && editor.document )
    895896                                                                {
     897                                                                        editor.document.getBody().focus();
     898
     899                                                                        editor.selectionChange();
     900                                                                }
     901                                                                else if ( !CKEDITOR.env.opera && editor.window )
     902                                                                {
    896903                                                                        editor.window.focus();
    897904
    898905                                                                        editor.selectionChange();
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy