﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
3035	Javascript error in IE when using fckdialog to insert an image	Eric E.		"I have tried this several times in IE 6, using various different image settings (thumbnail, frame, border, right, left, etc) to no avail.

After I select my image using the fckdialog, I get an error in the following function, on the line indicated by my comments:


{{{
/**
 * 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.
 */
EnsureSelection : function()
{
	// Move the focus to the Cancel button so even if the dialog contains a
	// contentEditable element the selection is properly restored in the editor #2496

// EE - Error occurs on the following line
	$( 'btnCancel' ).focus() ;
// EE

        window.focus() ;


	FCK.Selection.Restore() ;
}
}}}

Note:  I see that the line in question has been added in the latest release, and was not present in release 2.6.3."	Bug	closed	Normal		Project : MediaWiki+FCKeditor		fixed	Confirmed	
