Changeset 1370

Show
Ignore:
Timestamp:
2008-01-19 16:32:56 (6 months ago)
Author:
fredck
Message:

Removed the FocusManager.Unlock() logic from the fckdialog.html unload as it seems it is correctly handled in the FCKDialog.OnDialogClose function.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • FCKeditor/branches/features/floating_dialog/editor/fckdialog.html

    r1369 r1370  
    517517(function() 
    518518{ 
    519         // Unlock focus manager for non-IE browsers. 
    520         if ( window.addEventListener ) 
    521         { 
    522                 // Keep a reference to the editor since Editor() doesn't work when the iframe is unloading. 
    523                 var editorRef = Editor() ; 
    524                 window.addEventListener( 'unload', function(){ editorRef.FCKFocusManager.Unlock() ; }, false ) ; 
    525         } 
    526  
    527519        var setOnKeyDown = function( targetDocument ) 
    528520        {