I'm having an issue with FCKeditor resetting itself (to the inital input). This occurs whenever I open a new window from a link elsewhere on the same page as the editor (e.g., a link with onclick=window.open(...)).
I'm not too familiar with javascript, so bear with me; the reload is performed by the overridden window.onload in fckeditor.html, but I'm not sure what's is causing that to get called in the first place. I'm guessing either:
1) The overridden window.onload is used by the child [the pop-up], too
or
2) There's some other side effect causing the iframe to reload when I use window.open.
I'm leaning toward #2 because alert(window.location.href) in the onload function always gives the location of fckeditor.html, not the location of my pop-up.
I'm hoping someone can either tell me how to get rid of this reload or point me in the right direction within the fck code to fix it myself. Thanks.
I'm not too familiar with javascript, so bear with me; the reload is performed by the overridden window.onload in fckeditor.html, but I'm not sure what's is causing that to get called in the first place. I'm guessing either:
1) The overridden window.onload is used by the child [the pop-up], too
or
2) There's some other side effect causing the iframe to reload when I use window.open.
I'm leaning toward #2 because alert(window.location.href) in the onload function always gives the location of fckeditor.html, not the location of my pop-up.
I'm hoping someone can either tell me how to get rid of this reload or point me in the right direction within the fck code to fix it myself. Thanks.