Plugins: Restore "Clear List" button functionality for recently active plugins.

Props obenland.
Fixes #41080.

git-svn-id: https://develop.svn.wordpress.org/trunk@41585 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2017-09-24 15:15:35 +00:00
parent 27f3b55999
commit be2166126d
1 changed files with 1 additions and 1 deletions

View File

@ -1996,7 +1996,7 @@
*
* @param {Event} event Event interface.
*/
$bulkActionForm.on( 'click', '[type="submit"]', function( event ) {
$bulkActionForm.on( 'click', '[type="submit"]:not([name="clear-recent-list"])', function( event ) {
var bulkAction = $( event.target ).siblings( 'select' ).val(),
itemsSelected = $bulkActionForm.find( 'input[name="checked[]"]:checked' ),
success = 0,