﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
986	Window not stopped	Eric Brison		"In Linux (also on windows XP) / Firefox 2.0.0-5 - FCK editor 2.5 SVN
No problem with Internet Explorer.

When I have 2 editors : one visible and the other unvisible, the window loading not stop and other onload event functions are not launch until window.stop() is called.

If the 2 are visbles : it's OK

If the 2 are unvisible : it's OK also.

See example to view the problem.
{{{
<!DOCTYPE html PUBLIC ""-//W3C//DTD XHTML 1.0 Transitional//EN"" ""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"">
<html xmlns=""http://www.w3.org/1999/xhtml"">
<head>
        <title>FCKeditor - Sample</title>
        <meta http-equiv=""Content-Type"" content=""text/html; charset=utf-8"" />
        <meta name=""robots"" content=""noindex, nofollow"" />
        <script type=""text/javascript"" src=""/usr/share/what/fckeditor/fckeditor.js""></script>
</head>
<body>
        <h1> FCKeditor - JavaScript - Double Editor</h1>
        <div> First is visble, second is hidden   </div>
        <hr />             <br />
<form action=""sampleposteddata.asp"" method=""post"" target=""_blank"">
                
<a onclick=""document.getElementById('fsecond').style.display=''"">View Second Editor</a>
<fieldset id=""ffirst"" ><legend>First</legend>
<script type=""text/javascript"">
var sBasePath = '/usr/share/what/fckeditor/' ;
var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
oFCKeditor.BasePath     = sBasePath ;
oFCKeditor.Value        = 'First Editor' ;
oFCKeditor.Create() ;
</script>
                <br />
</fieldset>

<fieldset id=""fsecond""  style=""display:none""><legend>Second</legend>
<script type=""text/javascript"">


var oFCKeditor2 = new FCKeditor( 'FCKeditor2' ) ;
oFCKeditor2.BasePath     = sBasePath ;
oFCKeditor2.Value        = 'Second editor' ;
oFCKeditor2.Create() ;

                </script>
                <br /></fieldset>
                <input type=""submit"" />
        </form>
</body>
</html>

}}}
"	Bug	closed	Normal		General	FCKeditor 2.5	expired	WorksForMe	
