List tables: When executing a search, reset the Bulk Actions dropdown to avoid the search from failing.

props c3mdigital, vinod-dalvi.
fixes #25034.

Built from https://develop.svn.wordpress.org/trunk@25677


git-svn-id: http://core.svn.wordpress.org/trunk@25593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2013-10-03 01:09:10 +00:00
parent 49af5f34d7
commit b6d680174d
4 changed files with 6 additions and 7 deletions

View File

@ -410,6 +410,10 @@ $(document).ready( function() {
}); });
} }
$('.search-box input[type="search"], .search-box input[type="submit"]').mousedown(function () {
$('select[name^="action"]').val('-1');
});
// Scroll into view when focused // Scroll into view when focused
$('#contextual-help-link, #show-settings-link').on( 'focus.scroll-into-view', function(e){ $('#contextual-help-link, #show-settings-link').on( 'focus.scroll-into-view', function(e){
if ( e.target.scrollIntoView ) if ( e.target.scrollIntoView )

File diff suppressed because one or more lines are too long

View File

@ -64,11 +64,6 @@ inlineEditPost = {
t.revert(); t.revert();
} }
}); });
$('#post-query-submit').mousedown(function(e){
t.revert();
$('select[name^="action"]').val('-1');
});
}, },
toggle : function(el){ toggle : function(el){

File diff suppressed because one or more lines are too long