2.0 Error

  •  02-07-2004, 5:38 PM

    2.0 Error

    I have a instance of CuteEditor that was running the 1.6 version.  I uploaded the new 2.0 version and now when I submit the form to send the changes to the database I get the following error:

     

    Line: 495

    Error: Object Required

     

    If I run debugger the error is in the WINIE.js file and the block of code it is erroring on is:

     

    function save(current)

    { var tempContent;

    var editor = document.getElementById(current.EditorID);

    if(current.currentview==1)

    tempContent = editor.innerText;

    else

    tempContent = editor.innerHTML;

    var HtmlContent = document.getElementById(current.UniqueID+"_HTMLContent");

    HtmlContent.value = tempContent;

     

    The actual line in error is tempContent = editor.innerHTML;

     

    I had the editor in normal view when I was submiting my changes.

     

    Please advise.

View Complete Thread