Cute Editor Javascript error from CuteEditorImplementation.js (element 'CE_Editor_ID_Frame' not found)

  •  03-09-2009, 5:10 AM

    Cute Editor Javascript error from CuteEditorImplementation.js (element 'CE_Editor_ID_Frame' not found)

    Hi
     
    We have been receiving Javascript errors for some time that have been breaking pages. Upon investigation we have discovered that these customers are occasionally receiving the following Javascript error:
    "element 'CE_Editor_ID_Frame' not found"
     
    It is very difficult to replicate this error (it is probably a complex timing issue) but enough customers use our web app for this to have become a major issue for us.
     
    It appears that this error is originating in CuteEditorImplementation.js from the function "Frame_GetContentWindowin" ... at the end of this function is the following line:
    Debug_Todo('//TODO:frame contentWindow not found?');
     
    Considering that CE_Editor_ID_Frame is the ID of the contentWindow it is fairly obvious that it is because this error is not handled it is causing of the error.
     
    Can you please fix this ... maybe use setTimeout to call the function again until it successfully gets the contentWindow?
    Filed under:
View Complete Thread