Firefox div tag issue, CE is disabled with errors

  •  08-10-2005, 4:16 PM

    Firefox div tag issue, CE is disabled with errors

    Ok, I have CE in a div tag that comes up invisible. Then say I show CE after the user clicks a button. In firefox, CE is now disabled and I cannot type anything in it.  Example code:
     
    <input type="button" value="test" onclick="document.getElementById ('divTEST').style.display = '';">
    <div id="divTEST" style="DISPLAY:none">
     <CE:Editor id="txtTest" runat="server" width="100%" Height="400px" ShowHtmlMode="False"></CE:Editor>
    </div>
     
    In Internet Explorer there are no issues with this code.
    In Firefox 1.0.6 CE is disabled, and there are a bunch of JavaScript errors in the JavaScript console such as

    Error: uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMNSHTMLDocument.designMode]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: http://localhost/Kaneva/CuteSoft_Client/CuteEditor/CuteEditor_Gecko.js.aspx?settinghash=1a00761b :: CuteEditor_Gecko_Initialize :: line 11"  data: no]

    Error: uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMNSHTMLDocument.designMode]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: http://localhost/Kaneva/CuteSoft_Client/CuteEditor/CuteEditor_Gecko.js.aspx?settinghash=c9b399e9 :: CuteEditor_Gecko_Initialize :: line 11"  data: no]
      
    Is there a known issue with this or a fix available?

    Jason
View Complete Thread