Ticket #31964: before-unload-makeitwork2.patch
File before-unload-makeitwork2.patch, 370 bytes (added by , 8 years ago) |
---|
-
wp-admin/js/updates.js
old new 547 547 548 548 } ); 549 549 550 $( window ).on( 'beforeunload', wp.updates.beforeunload);550 $( window ).on( 'beforeunload', function() { return wp.updates.beforeunload(); } ); 551 551 552 552 })( jQuery, window.wp, window.pagenow, window.ajaxurl );