Remove Quick Edit when clicking search or filter buttons

git-svn-id: http://svn.automattic.com/wordpress/trunk@9334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2008-10-24 20:50:20 +00:00
parent e18ff57e78
commit 002d07c3af
2 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ inlineEditPost = {
}
});
$('#post-query-submit').click(function(e){
$('#posts-filter input[type="submit"]').click(function(e){
if ( $('form#posts-filter tr.inline-editor').length > 0 )
t.revert();
});

View File

@ -22,7 +22,7 @@ inlineEditTax = {
t.rows.dblclick(function() { inlineEditTax.toggle(this); });
t.addEvents(t.rows);
$('#doaction, #doaction2, #post-query-submit').click(function(e){
$('#posts-filter input[type="submit"]').click(function(e){
if ( $('form#posts-filter tr.inline-editor').length > 0 )
t.revert();
});