Changeset 8037
- Timestamp:
- 06/03/08 08:15:39 (4 months ago)
- Files:
-
- trunk/wp-includes/js/autosave.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-includes/js/autosave.js
r7913 r8037 155 155 156 156 /* Gotta do this up here so we can check the length when tinyMCE is in use */ 157 if ( rich ) { tinyMCE.triggerSave(); } 158 157 if ( rich ) { 158 var ed = tinyMCE.activeEditor; 159 if ( 'mce_fullscreen' == ed.id ) 160 tinyMCE.get('content').setContent(ed.getContent({format : 'raw'}), {format : 'raw'}); 161 tinyMCE.get('content').save(); 162 } 163 159 164 post_data["content"] = jQuery("#content").val(); 160 165 if ( jQuery('#post_name').val() )
