Index: /FCKeditor/branches/features/floating_dialog/editor/fckdialog.html
===================================================================
--- /FCKeditor/branches/features/floating_dialog/editor/fckdialog.html	(revision 1257)
+++ /FCKeditor/branches/features/floating_dialog/editor/fckdialog.html	(revision 1258)
@@ -65,5 +65,5 @@
 		try
 		{
-			var parentDomain = frameElement._DialogArguments.TopWindow ? frameElement._DialogArguments.TopWindow.document.domain : frameElement._DialogArguments.Editor.document.domain ;
+			var parentDomain = Args().TopWindow ? Args().TopWindow.document.domain : Editor().document.domain ;
 
 			if ( document.domain != parentDomain )
@@ -527,9 +527,44 @@
 
 	// readystatechange handler for registering drag and drop handlers in cover iframes, defined out here to avoid memory leak.
-	onReadyRegister = function()
+	var onReadyRegister = function()
 	{
 		if ( this.readyState != 'complete' )
 			return ;
 		DragAndDrop.RegisterHandlers( this.contentWindow ) ;
+	}
+
+	var setOnKeyDown = function( targetDocument )
+	{
+		targetDocument.onkeydown = function ( e )
+		{
+			e = e || event || this.parentWindow.event ;
+			switch ( e.keyCode )
+			{
+				case 13 :		// ENTER
+					var oTarget = e.srcElement || e.target ;
+					if ( oTarget.tagName == 'TEXTAREA' )
+						return true ;
+					Ok() ;
+					return false ;
+				case 27 :		// ESC
+					Cancel() ;
+					return false ;
+					break ;
+			}
+			return true ;
+		}
+	}
+
+	var contextMenuBlocker = function( e )
+	{
+		var sTagName = e.target.tagName ;
+		if ( ! ( ( sTagName == "INPUT" && e.target.type == "text" ) || sTagName == "TEXTAREA" ) )
+			e.preventDefault() ;
+	}
+
+	var disableContextMenu = function( targetDocument )
+	{
+		if ( FCKBrowserInfo.IsIE ) return ;
+		targetDocument.addEventListener( 'contextmenu', contextMenuBlocker, true ) ;
 	}
 
@@ -591,4 +626,8 @@
 					blockerFrame.onreadystatechange = onReadyRegister;
 			}
+
+			// Add Enter/Esc hotkeys and disable context menu for the dialog.
+			setOnKeyDown( document ) ;
+			disableContextMenu( document ) ;
 		},
 
@@ -626,6 +665,6 @@
 			innerDoc.write( '<link href="' + FCKConfig.SkinPath + 'fck_dialog.css" type="text/css" rel="stylesheet">' ) ;
 
-			// SetOnKeyDown( innerDoc ) ;
-			// DisableContextMenu( innerDoc ) ;
+			setOnKeyDown( innerDoc ) ;
+			disableContextMenu( innerDoc ) ;
 
 			Sizer.RefreshContainerSize();
@@ -729,669 +768,4 @@
 })() ;
 		</script>
-		<!-- script type="text/javascript">
-// Get the dialog arguments and the dialog frame from parent window
-var dialogFrame	= window.frameElement ;
-var args		= window.dialogArguments = dialogFrame._DialogArguments ;
-var editor		= args.Editor ;
-
-var FCK				= editor.FCK ;
-var FCKTools		= editor.FCKTools ;
-var FCKDomTools		= editor.FCKDomTools ;
-var FCKDialog		= editor.FCKDialog ;
-var FCKBrowserInfo	= editor.FCKBrowserInfo ;
-var FCKConfig		= editor.FCKConfig ;
-
-window.focus() ;
-
-// Automatically detect the correct document.domain (#123).
-(function()
-{
-	var d = document.domain ;
-
-	while ( true )
-	{
-		// Test if we can access a parent property.
-		try
-		{
-			var parentDomain = args.TopWindow ? args.TopWindow.document.domain : editor.document.domain ;
-
-			if ( document.domain != parentDomain )
-				document.domain = parentDomain ;
-			break ;
-		}
-		catch( e ) {}
-
-		// Remove a domain part: www.mytest.example.com => mytest.example.com => example.com ...
-		d = d.replace( /.*?(?:\.|$)/, '' ) ;
-
-		if ( d.length == 0 )
-			break ;		// It was not able to detect the domain.
-
-		document.domain = d ;
-	}
-})() ;
-
-// Sets the Skin CSS
-document.write( '<link href="' + FCKConfig.SkinPath + 'fck_dialog.css" type="text/css" rel="stylesheet">' ) ;
-
-// Sets the language direction.
-window.document.dir = editor.FCKLang.Dir ;
-
-if ( FCKBrowserInfo.IsIE )
-{
-	// IE does not set the window name in showModalDialog(), let's set it here.
-	window.name = args.DialogName ;
-
-	// For IE6-, the fck_dialog_ie6.js is loaded, used to fix limitations in the browser.
-	if ( !FCKBrowserInfo.IsIE7 )
-		document.write( '<' + 'script type="text/javascript" src="' + FCKConfig.SkinPath + 'fck_dialog_ie6.js"><' + '\/script>' ) ;
-}
-
-function Init()
-{
-	// Start the throbber timer.
-	// Throbber.Show( 1000 ) ;
-
-	RefreshContainerSize() ;
-	// LoadInnerDialog() ;
-
-	FCKTools.DisableSelection( document.body ) ;
-
-	// Make the title area draggable.
-	var titleElement = document.getElementById( 'header' ) ;
-	titleElement.onmousedown = DnD.MouseDownHandler ;
-
-	// Connect mousemove and mouseup events from dialog frame and outer window to dialog dragging logic.
-	// DnD.RegisterHandlers( window ) ;
-	// DnD.RegisterHandlers( args.TopWindow ) ;
-
-	// Disable the previous dialog if it exists.
-	if ( frameElement._ParentDialog )
-	{
-		frameElement._ParentDialog.contentWindow.SetEnabled( false ) ;
-		if ( FCKBrowserInfo.IsIE && !FCKBrowserInfo.IsIE7 )
-		{
-			var currentParent = frameElement._ParentDialog ;
-			while ( currentParent )
-			{
-				var blockerFrame = currentParent.contentWindow.document.getElementById( 'blocker' ) ;
-				/*
-				if ( blockerFrame.readyState == 'complete' )
-					DnD.RegisterHandlers( blockerFrame.contentWindow ) ;
-				else
-				{
-					blockerFrame.onreadystatechange = function()
-					{
-						if ( this.readyState != 'complete' )
-							return ;
-						DnD.RegisterHandlers( this.contentWindow ) ;
-					}
-				}
-				*/
-				currentParent = currentParent._ParentDialog ;
-			}
-		}
-		else
-		{
-			var currentParent = frameElement._ParentDialog ;
-			while ( currentParent )
-			{
-				// DnD.RegisterHandlers( currentParent.contentWindow ) ;
-				currentParent = currentParent._ParentDialog ;
-			}
-		}
-	}
-
-	// If this is the only dialog on screen, enable the background cover.
-	if ( FCKBrowserInfo.IsIE && !FCKBrowserInfo.IsIE7 )
-	{
-		var blockerFrame = FCKDialog.GetCover().firstChild ;
-		if ( blockerFrame.readyState == 'complete' )
-			DnD.RegisterHandlers( blockerFrame.contentWindow ) ;
-		else
-		{
-			blockerFrame.onreadystatechange = function()
-			{
-				if ( this.readyState != 'complete' )
-					return ;
-				DnD.RegisterHandlers( this.contentWindow ) ;
-			}
-		}
-	}
-}
-
-function LoadInnerDialog()
-{
-	if ( window.onresize )
-		window.onresize() ;
-
-	// First of all, translate the dialog box contents.
-	editor.FCKLanguageManager.TranslatePage( document ) ;
-	
-	// Create the IFRAME that holds the dialog contents.
-	document.getElementById( 'innerContents' ).innerHTML = '<iframe id="frmMain" src="' + args.Page + '" name="frmMain" frameborder="0" width="100%" height="100%" scrolling="auto" style="visibility: hidden;" allowtransparency="true"></iframe>' ;
-}
-
-function InnerDialogLoaded()
-{
-	// If the dialog has been closed before the iframe is loaded, do nothing.
-	if ( !window.frameElement.parentNode )
-		return ;
-
-	// Throbber.Hide() ;
-
-	var frmMain = document.getElementById('frmMain') ;
-	var innerWindow = frmMain.contentWindow ;
-	var innerDoc = innerWindow.document ;
-
-	// Show the loaded iframe.
-	frmMain.style.visibility = '' ;
-
-	// Set the language direction.
-	innerDoc.dir = editor.FCKLang.Dir ;
-
-	// Sets the Skin CSS.
-	innerDoc.write( '<link href="' + FCKConfig.SkinPath + 'fck_dialog.css" type="text/css" rel="stylesheet">' ) ;
-
-	// SetOnKeyDown( innerDoc ) ;
-	// DisableContextMenu( innerDoc ) ;
-
-	RefreshContainerSize();
-
-	// DnD.RegisterHandlers( innerWindow ) ;
-	
-	innerWindow.focus() ;
-
-	return editor ;
-}
-
-function SetOkButton( showIt )
-{
-	document.getElementById('btnOk').style.visibility = ( showIt ? '' : 'hidden' ) ;
-}
-
-var bAutoSize = false ;
-
-function SetAutoSize( autoSize )
-{
-	bAutoSize = autoSize ;
-	RefreshSize() ;
-}
-
-// Fit the dialog container's layout to the inner iframe's external size.
-function RefreshContainerSize()
-{
-	var frmMain = document.getElementById( 'frmMain' ) ;
-	
-	if ( frmMain )
-	{
-		// Get the container size.
-		var height = document.getElementById( 'contents' ).offsetHeight ;
-		
-		// Subtract the size of other elements.
-		height -= document.getElementById( 'TitleArea' ).offsetHeight ;
-		height -= document.getElementById( 'TabsRow' ).offsetHeight ;
-		height -= document.getElementById( 'DialogButtons' ).offsetHeight ;
-		
-		frmMain.style.height = Math.max( height, 0 ) + 'px' ;
-	}
-}
-
-// Resize and re-layout the dialog.
-// Triggers the onresize event for the layout logic.
-function ResizeDialog( width, height )
-{
-	FCKDomTools.SetElementStyles( window.frameElement,
-			{
-				'width' : width + 'px',
-				'height' : height + 'px'
-			} ) ;
-
-	// If the skin have defined a function for resize fixes, call it now.
-	if ( typeof DoResizeFixes == 'function' )
-		DoResizeFixes() ;
-}
-
-// if bAutoSize is true, automatically fit the dialog size and layout to
-// accomodate the inner iframe's internal height.
-// if bAutoSize is false, then only the layout logic for the dialog decorations
-// is run to accomodate the inner iframe's external height.
-function RefreshSize()
-{
-	if ( bAutoSize )
-	{
-		var frmMain		= document.getElementById('frmMain') ;
-		var innerDoc	= frmMain.contentWindow.document ;
-		var isStrict	= FCKTools.IsStrictMode( innerDoc ) ;
-
-		// Get the size of the frame contents.
-		var innerWidth	= isStrict ? innerDoc.documentElement.scrollWidth : innerDoc.body.scrollWidth ;
-		var innerHeight	= isStrict ? innerDoc.documentElement.scrollHeight : innerDoc.body.scrollHeight ;
-
-		// Get the current frame size.
-		var frameSize = FCKTools.GetViewPaneSize( frmMain.contentWindow ) ;
-		
-		var deltaWidth	= innerWidth - frameSize.Width ;
-		var deltaHeight	= innerHeight - frameSize.Height ;
-
-		// If the contents fits the current size.		
-		if ( deltaWidth <= 0 && deltaHeight <= 0 )
-			return ;
-		
-		var dialogWidth		= frameElement.offsetWidth + Math.max( deltaWidth, 0 ) ;
-		var dialogHeight	= frameElement.offsetHeight + Math.max( deltaHeight, 0 ) ;
-
-		ResizeDialog( dialogWidth, dialogHeight ) ;
-	}
-
-	RefreshContainerSize() ;
-}
-
-// Safari seems to have a bug with the time when RefreshSize() is executed - it
-// thinks frmMain's innerHeight is 0 if we query the value too soon after the
-// page is loaded in some circumstances. (#1316)
-// TODO : Maybe this is not needed anymore after #35.
-if ( FCKBrowserInfo.IsSafari )
-{
-	(function()
-	{
-		var originalRefreshSize = RefreshSize ;
-
-		window.RefreshSize = function()
-		{
-			window.setTimeout( originalRefreshSize, 1 ) ;
-		}
-	})() ;
-}
-
-function Ok()
-{
-	EnsureSelection() ;
-	
-	var frmMain = window.frames["frmMain"] ;
-
-	if ( frmMain.Ok && frmMain.Ok() )
-		CloseDialog() ;
-	else
-		frmMain.focus() ;
-}
-
-function Cancel( dontFireChange )
-{
-	return CloseDialog( dontFireChange ) ;
-}
-
-function CloseDialog( dontFireChange )
-{
-	EnsureSelection() ;
-
-	// Points the src to a non-existent location to avoid loading errors later, in case the dialog
-	// haven't been completed loaded at this point.
-	// document.getElementById( 'frmMain' ).src = FCKTools.GetVoidUrl() ;
-
-	if ( !dontFireChange && !FCK.EditMode )
-	{
-		// All dialog windows, by default, will fire the "OnSelectionChange"
-		// event, no matter the Ok or Cancel button has been pressed.
-		FCK.Events.FireEvent( 'OnSelectionChange' ) ;
-	}
-
-	FCKDialog.OnDialogClose( window ) ;
-}
-
-function SetEnabled( isEnabled )
-{
-	var cover = document.getElementById( 'cover' ) ;
-	cover.style.display = isEnabled ? 'none' : '' ;
-
-	if ( FCKBrowserInfo.IsIE && !FCKBrowserInfo.IsIE7 )
-	{
-		if ( !isEnabled )
-		{
-			// Inser the blocker IFRAME before the cover.
-			var blocker = document.createElement( 'iframe' ) ;
-			blocker.src = FCKTools.GetVoidUrl() ;
-			blocker.hideFocus = true ;
-			blocker.frameBorder = 0 ;
-			blocker.id = blocker.className = 'blocker' ;
-			cover.appendChild( blocker ) ;
-		}
-		else
-		{
-			var blocker = document.getElementById( 'blocker' ) ;
-			if ( blocker && blocker.parentNode )
-				blocker.parentNode.removeChild( blocker ) ;
-		}
-	}
-}
-
-// Object that holds all available tabs.
-var oTabs = new Object() ;
-
-function TabDiv_OnClick()
-{
-	SetSelectedTab( this.TabCode ) ;
-}
-
-function AddTab( tabCode, tabText, startHidden )
-{
-	if ( typeof( oTabs[ tabCode ] ) != 'undefined' )
-		return ;
-
-	var eTabsRow = document.getElementById( 'Tabs' ) ;
-
-	var oCell = eTabsRow.insertCell(  eTabsRow.cells.length - 1 ) ;
-	oCell.noWrap = true ;
-
-	var oDiv = document.createElement( 'DIV' ) ;
-	oDiv.className = 'DialogTab' ;
-	oDiv.innerHTML = tabText ;
-	oDiv.TabCode = tabCode ;
-	oDiv.onclick = TabDiv_OnClick ;
-
-	if ( startHidden )
-		oDiv.style.display = 'none' ;
-
-	eTabsRow = document.getElementById( 'TabsRow' ) ;
-
-	oCell.appendChild( oDiv ) ;
-
-	if ( eTabsRow.style.display == 'none' )
-	{
-		var eTitleArea = document.getElementById( 'TitleArea' ) ;
-		eTitleArea.className = 'DialogTitle' ;
-
-		oDiv.className = 'DialogTabSelected' ;
-		eTabsRow.style.display = '' ;
-
-		if ( window.onresize )
-			window.onresize() ;
-	}
-
-	oTabs[ tabCode ] = oDiv ;
-
-	FCKTools.DisableSelection( oDiv ) ;
-}
-
-function SetSelectedTab( tabCode )
-{
-	for ( var sCode in oTabs )
-	{
-		if ( sCode == tabCode )
-			oTabs[sCode].className = 'DialogTabSelected' ;
-		else
-			oTabs[sCode].className = 'DialogTab' ;
-	}
-
-	if ( typeof( window.frames["frmMain"].OnDialogTabChange ) == 'function' )
-		window.frames["frmMain"].OnDialogTabChange( tabCode ) ;
-}
-
-function SetTabVisibility( tabCode, isVisible )
-{
-	var oTab = oTabs[ tabCode ] ;
-	oTab.style.display = isVisible ? '' : 'none' ;
-
-	if ( ! isVisible && oTab.className == 'DialogTabSelected' )
-	{
-		for ( var sCode in oTabs )
-		{
-			if ( oTabs[sCode].style.display != 'none' )
-			{
-				SetSelectedTab( sCode ) ;
-				break ;
-			}
-		}
-	}
-}
-
-function SetOnKeyDown( targetDocument )
-{
-	targetDocument.onkeydown = function ( e )
-	{
-		e = e || event || this.parentWindow.event ;
-		switch ( e.keyCode )
-		{
-			case 13 :		// ENTER
-				var oTarget = e.srcElement || e.target ;
-				if ( oTarget.tagName == 'TEXTAREA' )
-					return true ;
-				Ok() ;
-				return false ;
-			case 27 :		// ESC
-				Cancel() ;
-				return false ;
-				break ;
-		}
-		return true ;
-	}
-}
-// SetOnKeyDown( document ) ;
-
-function DisableContextMenu( targetDocument )
-{
-	if ( FCKBrowserInfo.IsIE ) return ;
-
-	// Disable Right-Click
-	var oOnContextMenu = function( e )
-	{
-		var sTagName = e.target.tagName ;
-		if ( ! ( ( sTagName == "INPUT" && e.target.type == "text" ) || sTagName == "TEXTAREA" ) )
-			e.preventDefault() ;
-	}
-	// targetDocument.addEventListener( 'contextmenu', oOnContextMenu, true ) ;
-}
-// DisableContextMenu( document ) ;
-
-/*
-window.onresize = function( e )
-{
-	RefreshContainerSize() ;
-	}
-*/
-
-if ( FCKBrowserInfo.IsIE )
-{
-	function Window_OnBeforeUnload()
-	{
-		for ( var t in oTabs )
-			oTabs[t] = null ;
-
-		args = editor = FCK = FCKTools = FCKDomTools = FCKDialog = FCKConfig = FCKBrowserInfo = null ;
-	}
-	window.attachEvent( "onbeforeunload", Window_OnBeforeUnload ) ;
-}
-
-function Window_OnClose()
-{
-	editor.FCKFocusManager.Unlock() ;
-}
-
-if ( window.addEventListener )
-	window.addEventListener( 'unload', Window_OnClose, false ) ;
-
-// Drad-and-drop handler.
-/*
-var DnD = (function()
-{
-	var registeredWindows = [] ;
-	var lastCoords = null ;
-	
-	var getMouseCoordinates = function( evt )
-	{
-		var element = evt.srcElement || evt.target ;
-		var doc = FCKTools.GetElementDocument( element ) ;
-		var view = doc.parentWindow || evt.view ;
-		var retval = { 'x': evt.clientX, 'y': evt.clientY };
-
-		if ( view != args.TopWindow )
-		{
-			var offset = FCKTools.GetDocumentPosition( args.TopWindow, doc.documentElement ) ;
-			retval.x += offset.x ;
-			retval.y += offset.y ;
-		}
-
-		return retval ;
-	}
-
-	var cleanUpHandlers = function()
-	{
-		for ( var i = 0 ; i < registeredWindows.length ; i++ )
-		{
-			FCKTools.RemoveEventListener( registeredWindows[i].document, 'mousemove', dragMouseMoveHandler ) ;
-			FCKTools.RemoveEventListener( registeredWindows[i].document, 'mouseup', dragMouseUpHandler ) ;
-		}
-	}
-
-	var dragMouseMoveHandler = function( evt )
-	{
-		if ( !lastCoords )
-			return ;
-
-		// Debouncing logic for Opera, for preventing the dialog from vibrating during mouse drags.
-		if ( FCKBrowserInfo.IsOpera )
-		{
-			if ( window.LastMoveTimestamp > (new Date()).getTime() - 20 )
-				return ;
-			else
-				window.LastMoveTimestamp = (new Date()).getTime() ;
-		}
-
-		if ( !evt )
-			evt = FCKTools.GetElementDocument( this ).parentWindow.event ;
-
-		var currentCoords = getMouseCoordinates( evt );
-		var dx = currentCoords.x - lastCoords.x;
-		var dy = currentCoords.y - lastCoords.y;
-		lastCoords = currentCoords;
-
-		var x = parseInt( FCKDomTools.GetCurrentElementStyle( args.TopWindow, frameElement, 'left' ) ) + dx ;
-		var y = parseInt( FCKDomTools.GetCurrentElementStyle( args.TopWindow, frameElement, 'top' ) ) + dy ;
-		FCKDomTools.SetElementStyles( frameElement,
-				{
-				'left' : x + 'px',
-				'top' : y + 'px'
-				} ) ;
-
-		if ( evt.preventDefault )
-			evt.preventDefault() ;
-		else
-			evt.returnValue = false ;
-	}
-
-	var dragMouseUpHandler = function( evt )
-	{
-		if ( !lastCoords )
-			return ;
-		if ( !evt )
-			evt = FCKTools.GetElementDocument( this ).parentWindow.event ;
-		cleanUpHandlers() ;
-		lastCoords = null ;
-	}
-
-	return {
-
-		MouseDownHandler : function( evt )
-		{
-			var view = null ;
-			if ( !evt )
-			{
-				view = FCKTools.GetElementDocument( this ).parentWindow ;
-				evt = view.event ;
-			}
-			else
-				view = evt.view ;
-
-			var target = evt.srcElement || evt.target ;
-			if ( target.id == 'closeButton' || target.className == 'DialogTab' || target.className == 'DialogTabSelected' )
-				return ;
-
-			lastCoords = getMouseCoordinates( evt ) ;
-
-			for ( var i = 0 ; i < registeredWindows.length ; i++ )
-			{
-				// FCKTools.AddEventListener( registeredWindows[i].document, 'mousemove', dragMouseMoveHandler ) ;
-				// FCKTools.AddEventListener( registeredWindows[i].document, 'mouseup', dragMouseUpHandler ) ;
-			}
-
-			if ( evt.preventDefault )
-				evt.preventDefault() ;
-			else
-				evt.returnValue = false ;
-		},
-
-		RegisterHandlers : function( w )
-		{
-			registeredWindows.push( w ) ;
-		}
-	}
-})() ;
-*/
-
-/**
- * Ensures that the editing area contains an active selection. This is a
- * requirement for IE, as it looses the selection when the focus moves to other
- * frames.
- */
-function EnsureSelection()
-{
-	if ( FCKDialog.SelectionData )
-		FCKDialog.SelectionData.select() ;
-}
-
-/**
- * Get the FCKSelection object for the editor instance.
- */
-function GetSelection()
-{
-	EnsureSelection() ;
-	return FCK.Selection ;
-}
-
-/**
- * Get the selected element in the editing area (for object selections).
- */
-function GetSelectedElement()
-{
-	var element = GetSelection().GetSelectedElement() ;
-	return element ;
-}
-
-/*
-var Throbber =
-{
-	Show : function( waitMilliseconds )
-	{
-		if ( waitMilliseconds && waitMilliseconds > 0 )
-		{
-			this._Timer = FCKTools.SetTimeout( this.Show, waitMilliseconds, this, null, window ) ;
-			return ;
-		}
-
-		var throbberParent = document.getElementById( 'throbberBlock' ) ;
-		throbberParent.innerHTML = '<img src="%%images/loading.gif" width="28" height="28" border="0" />'.replace( '%%', FCKConfig.SkinPath ) ; ;
-
-		var frm = document.getElementById( 'contents' ) ;
-		var frmCoords = FCKTools.GetDocumentPosition( window, frm ) ;
-		var x = frmCoords.x + ( frm.offsetWidth - throbberParent.offsetWidth ) / 2 ;
-		var y = frmCoords.y + ( frm.offsetHeight - throbberParent.offsetHeight ) / 2 ;
-		throbberParent.style.left = parseInt(x) + 'px' ;
-		throbberParent.style.top = parseInt(y) + 'px' ;
-
-		this._Timer = null ;
-	},
-
-	Hide : function()
-	{
-		if ( this._Timer )
-			clearTimeout( this._Timer ) ;
-
-		var throbberParent = document.getElementById( 'throbberBlock' ) ;
-		if ( throbberParent )
-			FCKDomTools.RemoveNode( throbberParent ) ;
-	}
-} ;
-*/
-		</script -->
 	</head>
 	<body onload="Main.Init();" class="DialogBody">
Index: /FCKeditor/branches/features/floating_dialog/test_results
===================================================================
--- /FCKeditor/branches/features/floating_dialog/test_results	(revision 1257)
+++ /FCKeditor/branches/features/floating_dialog/test_results	(revision 1258)
@@ -12,2 +12,3 @@
 9. Added logic for closing dialogs, cover blocks, disabling and enabling dialogs, and selection handler/No noticeable increase.
 10. Added logic for handling tabs/No noticeable increase.
+11. Added context menu blocker and Enter and Esc hotkeys/No noticeable increase.
