SSL error message in IE7 and IE8 upon control removal

Last post 08-29-2012, 4:13 PM by Kenneth. 1 replies.
Sort Posts: Previous Next
  •  08-29-2012, 10:12 AM 74509

    SSL error message in IE7 and IE8 upon control removal

    When removing the CuteEditor control from the DOM using JavaScript on an SSL connection, an "Insecure items" warning message is displayed by the browser.

     

    In the example provided, the main CuteEditor table is being removed.

     

    This behavour was not observed in IE9, Safari 5.1.7 or Chrome 21.0.1180.83. 

     

    Browsers affected: IE7, IE8.

     

    I have a workaround which is included in the example. You may, however, want to look at this to see what the underlying issue is.

     

    Regards

     

    Daniel Barratt

     

    EXAMPLE BELOW:

     

     <%@ Page Language="C#" %>


    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


    <script runat="server">


        protected void Page_Load(object sender, EventArgs e)
        {
            CuteEditor.Editor test = new CuteEditor.Editor();
            test.ID = "MyCuteEditor";
            ParentDIV.Controls.Add(test);
        }
    </script>


    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title></title>
        <script type="text/javascript">
            function removeCuteEditor() {


                var pd = document.getElementById('ParentDIV');
                var ce = document.getElementById('CE_MyCuteEditor_ID');


                var bUseBrokenMethod = confirm('Do you want to see the SSL error?');


                if (!bUseBrokenMethod) {
                    pd.innerHTML = '';
                }
                else {
                    //this produces "insecure items (non-SSL)" message in IE7 and IE8
                    pd.removeChild(ce);
                }


            }
        </script>
    </head>
    <body>
        <form id="form1" runat="server">
        <div runat="server" id="ParentDIV">
        
        </div>
        <input type="button" value="Remove CuteEditor" onclick="removeCuteEditor();" />
        </form>
    </body>
    </html>


     

     

  •  08-29-2012, 4:13 PM 74516 in reply to 74509

    Re: SSL error message in IE7 and IE8 upon control removal

    Hi DanielBarratt,

     

    I can reproduce this issue on version  6.6 too. We have fixed this problem in the latest version (v8.0).

     

    Rich TextEditor 8.0 http://richtexteditor.com/

     

    Rich TextEditor 8.0 download url: http://richtexteditor.com/download/richtexteditor.rar

     

    Regards,

     

    Ken 

     

     

View as RSS news feed in XML