Ticket #23216: 23216-cleanup-fixes.diff
File 23216-cleanup-fixes.diff, 549 bytes (added by , 11 years ago) |
---|
-
wp-includes/js/autosave.js
242 242 243 243 function autosave_enable_buttons() { 244 244 jQuery(document).trigger('autosave-enable-buttons'); 245 if ( ! wp.heartbeat.connectionLost) {245 if ( wp.heartbeat.hasActiveConnection() ) { 246 246 // delay that a bit to avoid some rare collisions while the DOM is being updated. 247 247 setTimeout(function(){ 248 248 var parent = jQuery('#submitpost');