﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
7514	IE7 - Loss of focus for the second time to edit a link, image, smiley,....	Alejandro		"It's a case that only happens to me with IE7 (with Firefox, IE8 and Chrome works well). I use Ckeditor 3.5.2.

If I edit a link for the second time, I get a javascript error referencing a loss of focus. Same happens if I edit an image a second time. The javascript error is the same, but on another line. Mistakes are the file ""_source / plugins / dialogui / plugin.js"", lines 1039 and 1021:

'''Line 1039'''
{{{
// GECKO BUG: setTimeout() is needed to workaround invisible selections.
setTimeout( function()
{
     var e = me.getInputElement();
          if ( e )
	  {
	       e.$.focus(); //************* ERROR ****************//
	       e.$.select();
	  }
}, 0 );
}}}


'''Line 1021'''
{{{
// GECKO BUG: setTimeout() is needed to workaround invisible selections.
setTimeout( function()
{
     var element = me.getInputElement();
     element && element.$.focus(); //************* ERROR ****************//
}, 0 );
}}}

This error is not limited only to enter a second time in the editing of an image or link, but also occurs on any button on the display an editing window. If this is the second time the page stop working in the background (no javascript error, but inaccessible), see the special characters button or the smiley button for example."	Bug	closed	Normal		UI : Dialogs	3.5.4	invalid	IE7	
