Changeset 6601 for CKEditor/trunk


Ignore:
Timestamp:
03/23/2011 05:20:46 PM (4 years ago)
Author:
Saare
Message:

#7301: [IE] Ajax sample: flash video not displaying when the editor is removed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CKEditor/trunk/_samples/ajax.html

    r6358 r6601  
    1818        //<![CDATA[
    1919
    20 var editor;
     20var editor, html = '';
    2121
    2222function createEditor()
     
    2525                return;
    2626
    27         var html = document.getElementById( 'editorcontents' ).innerHTML;
    2827
    2928        // Create a new editor inside the <div id="editor">, setting its value to html
     
    3938        // Retrieve the editor contents. In an Ajax application, this data would be
    4039        // sent to the server or used in any other way.
    41         document.getElementById( 'editorcontents' ).innerHTML = editor.getData();
     40        document.getElementById( 'editorcontents' ).innerHTML = html = editor.getData();
    4241        document.getElementById( 'contents' ).style.display = '';
    4342
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy