Changes between Initial Version and Version 2 of Ticket #4566


Ignore:
Timestamp:
Nov 3, 2009, 10:31:09 AM (11 years ago)
Author:
Frederico Caldeira Knabben
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4566

    • Property Keywords Pending added
  • Ticket #4566 – Description

    initial v2  
    1 * Only affects Internet Explorer v7 (have not tested v6).
    2 * Does not affect Opera, Chrome, and FireFox (latest versions).
    3 * Does not affect IE v8
     1 * Only affects Internet Explorer v7 (have not tested v6).
     2 * Does not affect Opera, Chrome, and FireFox (latest versions).
     3 * Does not affect IE v8
    44
    55Description:
    66
    7 * When using setData on an editor object in Internet Explorer, the data does get set correctly and rendered correctly, however, the error "this.$.innerHTML is null or not an object" is generated.
     7 * When using setData on an editor object in Internet Explorer, the data does get set correctly and rendered correctly, however, the error "this.$.innerHTML is null or not an object" is generated.
    88
    9 MS Script Debugger shoes that the error happens in the ckeditor.js on line 15 at
     9MS Script Debugger shoes that the error happens in the ckeditor.js on line 15 at:
    1010
     11{{{
    1112getHtml:function(){return this.$.innerHTML;}
     13}}}
    1214
    1315If I do a JavaScript "alert" right before the setData, then there is no error.  However, delaying the setData using a setTimeout does not help.
     
    1517I have found a workaround.  I changed the offending code to:
    1618
     19{{{
    1720getHtml:function(){return (this.$) ? this.$.innerHTML : "";}
     21}}}
    1822
    19 and the error goes away.
     23... and the error goes away.
© 2003 – 2021 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy