Changeset 8037
- Timestamp:
- 06/03/2008 08:15:39 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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() )
Note: See TracChangeset
for help on using the changeset viewer.