I added a function call to the FCKeditor_OnComplete event method and it caused the editor to go into this persistent reset/reload loop. The function I'm calling seems harmless: has nothing to do with the editor, or reloading the page. Yet when I replace it with something arbitrary, the problem goes away. So why is this function causing the editor to flip out?
PS: It is printing the time at the bottom of the page each time it loops, but it is NOT repeating the call to the function that generates the editor.
function FCKeditor_OnComplete( editorInstance ) { pageGenStop(); } function pageGenStop() { var d = new Date(); var stop_time = d.getTime(); var time_elapsed = (stop_time - gl_pagegen_start) + gl_pagegen_otime; document.body.innerHTML += time_elapsed; }
PS: It is printing the time at the bottom of the page each time it loops, but it is NOT repeating the call to the function that generates the editor.