Ticket #40966: 40966.4.diff
File 40966.4.diff, 812 bytes (added by , 7 years ago) |
---|
-
wp-admin/js/updates.js
1997 1997 * @param {Event} event Event interface. 1998 1998 */ 1999 1999 $bulkActionForm.on( 'click', '[type="submit"]', function( event ) { 2000 2000 2001 var bulkAction = $( event.target ).siblings( 'select' ).val(), 2001 2002 itemsSelected = $bulkActionForm.find( 'input[name="checked[]"]:checked' ), 2002 2003 success = 0, … … 2004 2005 errorMessages = [], 2005 2006 type, action; 2006 2007 2008 if ( bulkAction == 'update-selected' && $('.updating-message')[0] ) { 2009 return false; 2010 } 2011 2007 2012 // Determine which type of item we're dealing with. 2008 2013 switch ( pagenow ) { 2009 2014 case 'plugins':