Ticket #17729: 17729.diff
File 17729.diff, 966 bytes (added by , 13 years ago) |
---|
-
wp-admin/js/wp-fullscreen.dev.js
293 293 scrollTo(0, 0); 294 294 295 295 // needed it for IE7 and compat mode 296 $('#wpadminbar').hide(); 296 $('#wpadminbar').hide(); 297 297 }); 298 298 299 299 ps.subscribe( 'shown', function() { // This event occurs after the DFW overlay is shown … … 320 320 321 321 ps.subscribe( 'hide', function() { // This event occurs before the overlay blocks DFW. 322 322 323 api.savecontent();324 323 $( document ).unbind( '.fullscreen' ); 325 324 $(s.textarea_obj).unbind('.grow'); 326 325 … … 343 342 switchEditors.go( s.editor_id, 'html' ); 344 343 } 345 344 345 // Save content must be after switchEditors or content will be overwritten. See #17229. 346 api.savecontent(); 347 346 348 $( document.body ).removeClass( 'fullscreen-active' ); 347 349 scrollTo(0, s.orig_y); 348 350 $('#wpadminbar').show();