Ticket #40966: 40966.2.diff
File 40966.2.diff, 900 bytes (added by , 7 years ago) |
---|
-
src/wp-admin/js/updates.js
2053 2053 wp.updates.maybeRequestFilesystemCredentials( event ); 2054 2054 2055 2055 event.preventDefault(); 2056 2057 // Disable the Apply button while working 2058 $(this).prop( 'disabled', true ); 2056 2059 2057 2060 // Un-check the bulk checkboxes. 2058 2061 $bulkActionForm.find( '.manage-column [type="checkbox"]' ).prop( 'checked', false ); … … 2121 2124 if ( error > 0 && ! wp.updates.queue.length ) { 2122 2125 $( 'html, body' ).animate( { scrollTop: 0 } ); 2123 2126 } 2127 2128 // Re-enable the Apply button after displaying update notifications 2129 $bulkActionForm.find( 'input[type="submit"]' ).prop( 'disabled', false ); 2124 2130 } ); 2125 2131 2126 2132 // Reset admin notice template after #bulk-action-notice was added.