List tables: When executing a search, reset the Bulk Actions dropdown to avoid the search from failing.
props c3mdigital, vinod-dalvi. fixes #25034. git-svn-id: https://develop.svn.wordpress.org/trunk@25677 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
635a1249f5
commit
7a9a26fb84
@ -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 )
|
||||||
|
@ -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){
|
||||||
|
Loading…
Reference in New Issue
Block a user