CuteEditor 6.x Crashes in IE7 & IE8

  •  01-27-2010, 3:37 PM

    CuteEditor 6.x Crashes in IE7 & IE8

    One of my clients discovered an error when they were doing some content editing on their site. When changing some of the content, font's, font size, color the editor would hang and an unresponsive script message would appear or just hang.

     

    To reproduce this problem…

     

    STEP 1: Paste this HTML (I would post this as a code block but I get an error in the code insert tool. See bottom of post for this error)

     
    <font lang="JA" color="#6600c0" size="4" face="ArialMT"><font lang="JA" color="#6600c0" size="4" face="ArialMT"><font lang="JA" color="#6600c0" size="4" face="ArialMT"><strong><font color="#ffffff" size="5" face="TrajanPro-Bold"><font color="#ffffff" size="5" face="TrajanPro-Bold"><font color="#ffffff" size="5" face="TrajanPro-Bold">
    <p align="left">PHYSICIAN EDUCATION WORKSHOP</p>
    </strong></font></font></font><font lang="JA" color="#ffffff" size="2" face="ArialMT"><font lang="JA" color="#ffffff" size="2" face="ArialMT"><font lang="JA" color="#ffffff" size="2" face="ArialMT">
    <p align="left">PARK HYATT HOTEL, TORONTO, ON / SATURDAY, APRIL 10</font></font></font><font lang="JA" color="#ffffff" size="1" face="ArialMT"><font lang="JA" color="#ffffff" size="1" face="ArialMT"><font lang="JA" color="#ffffff" size="1" face="ArialMT">TH</font></font></font><font lang="JA" color="#ffffff" size="2" face="ArialMT"><font lang="JA" color="#ffffff" size="2" face="ArialMT"><font lang="JA" color="#ffffff" size="2" face="ArialMT">, 2010 &#8211; 8am-6pm</p>
    </font></font></font><strong><font color="#ffffff" size="2" face="Arial-BoldMT"><font color="#ffffff" size="2" face="Arial-BoldMT"><font color="#ffffff" size="2" face="Arial-BoldMT">
    <p>BIO-IDENTICAL HORMONE REPLACEMENT THERAPY FOR MEN &amp; WOMEN</p>
    </strong></font></font></font>
    <div align="left"><br />
    &nbsp;</font></font></font><strong><font size="1" face="Arial-BoldMT"><font size="1" face="Arial-BoldMT">Mark L. Gordon, M.D., FAAFP </strong></font></font><font lang="JA" size="1" face="ArialMT"><font lang="JA" size="1" face="ArialMT">&#8211; </font></font><em><font size="1" face="Arial-ItalicMT"><font size="1" face="Arial-ItalicMT">Founder &amp; Medical Director of Millennium Health Centers, Inc., Encino, CA</div>
    </em></font></font><font lang="JA" color="#6600c0" size="4" face="ArialMT"><font lang="JA" color="#6600c0" size="4" face="ArialMT"><font lang="JA" color="#6600c0" size="4" face="ArialMT">
    <p align="left">&#9642; </font></font></font><strong><font size="1" face="Arial-BoldMT"><font size="1" face="Arial-BoldMT">Sangeeta Pati, M.D., FACOG </strong></font></font><font lang="JA" size="1" face="ArialMT"><font lang="JA" size="1" face="ArialMT">&#8211; </font></font><em><font size="1" face="Arial-ItalicMT"><font size="1" face="Arial-ItalicMT">Founder &amp; Medical Director of the SaJune Medical Center, Orlando, FL</p>
    </em></font></font><font lang="JA" color="#6600c0" size="4" face="ArialMT"><font lang="JA" color="#6600c0" size="4" face="ArialMT"><font lang="JA" color="#6600c0" size="4" face="ArialMT">
    <p align="left">&#9642; </font></font></font><strong><font size="1" face="Arial-BoldMT"><font size="1" face="Arial-BoldMT">Marla Ahlgrimm R.Ph. </strong></font></font><font lang="JA" size="1" face="ArialMT"><font lang="JA" size="1" face="ArialMT">&#8211; </font></font><em><font size="1" face="Arial-ItalicMT"><font size="1" face="Arial-ItalicMT">Founder &amp; CEO - Women&#8217;s Health America, Inc. The RESTORE Program, Madison, WI</p>
    </em></font></font><strong><font color="#6600c0" size="1" face="Arial-BoldMT"><font color="#6600c0" size="1" face="Arial-BoldMT"><font color="#6600c0" size="1" face="Arial-BoldMT">
    <p align="left">WORKSHOP FEE</p>
    </strong></font></font></font><font lang="JA" size="1" face="ArialMT"><font lang="JA" size="1" face="ArialMT">
    <p align="left">$899.00 CDN + taxes</p>
    </font></font><strong><font size="1" face="Arial-BoldMT"><font size="1" face="Arial-BoldMT">
    <p align="left">Early Bird Discount </strong></font></font><font lang="JA" size="1" face="ArialMT"><font lang="JA" size="1" face="ArialMT">&#8211; </font></font><strong><font size="1" face="Arial-BoldMT"><font size="1" face="Arial-BoldMT">SAVE $125</p>
    </font></font><font color="#f60026" size="1" face="Arial-BoldMT"><font color="#f60026" size="1" face="Arial-BoldMT"><font color="#f60026" size="1" face="Arial-BoldMT">
    <p align="left">REGISTER BEFORE MARCH 1</font></font></font><font color="#f60026" size="1" face="Arial-BoldMT"><font color="#f60026" size="1" face="Arial-BoldMT"><font color="#f60026" size="1" face="Arial-BoldMT">st</p>
    </font></font></font><font color="#f60026" size="1" face="Arial-BoldMT"><font color="#f60026" size="1" face="Arial-BoldMT"><font color="#f60026" size="1" face="Arial-BoldMT">
    <p align="left">Limited Seating!!</p>
    </strong></font></font></font><em><font size="1" face="Arial-ItalicMT"><font size="1" face="Arial-ItalicMT">
    <p>**Group of 3 or more attendees, receive a group discount.</p>
    </em></font></font>

     

     

    STEP 2: In “normal” mode highlight the text at the top that is a light color (PHYSICIAN EDUCATION WORKSHOP PARK HYATT HOTEL, TORONTO, ON / SATURDAY, APRIL 10TH, 2010 – 8am-6pm BIO-IDENTICAL HORMONE REPLACEMENT THERAPY FOR MEN & WOMEN).

     

    STEP 3:  Go to the text color button click and select “automatic” this will cause the editor to crash. I’ve tested this locally and in the online demo. Both crash when doing the above. (Script is causing internet explorer to run slowing, stop running script)
     
     
    Thanks,
    Lee
     
     
     
     
    This is the error for the code insert tool:
     
    Webpage error details
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; OfficeLiveConnector.1.3; OfficeLivePatch.0.0; InfoPath.2; MS-RTC LM 8)
    Timestamp: Wed, 27 Jan 2010 21:35:40 UTC

    Message: 'undefined' is null or not an object
    Line: 37
    Char: 1284
    Code: 0
    URI: http://cutesoft.net/CuteSoft_Client/CuteEditor/Dialogs/Load.ashx?Type=Dialog&file=SyntaxHighlighter.htm&setting=!3wEWAgUFZW4tdXMFCmN1dGVzb2Z0JDEW5FuEdPW60IDOFwIaDmmnaf4A2w!2!2&Theme=Office2003&
     
     
     
     
     
     
     
     

    Lee Harris
    Programmer & Database Developer

    HLB System Solutions
    50 Malcolm Road
    Guelph, Ontario N1K 1A9
    Phone: 519-822-3450 Ext. 239
    Fax: 519-822-8861
    http://www.hlbsolutions.com

    Disclaimer: The contents of this post are provided "as is". There is not warranty on code found in this post.
View Complete Thread