mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-16 19:46:21 +00:00
Make sure quick edited non-alternate list table rows don't become alternate. props mordauk. fixes #24951.
Built from https://develop.svn.wordpress.org/trunk@25039 git-svn-id: http://core.svn.wordpress.org/trunk@25026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
19e485ce42
commit
9adfd648a8
@ -258,6 +258,10 @@ inlineEditPost = {
|
||||
} else {
|
||||
$('#edit-'+id+' .inline-edit-save .error').html(inlineEditL10n.error).show();
|
||||
}
|
||||
|
||||
if ( $('#post-'+id).prev().hasClass('alternate') ) {
|
||||
$('#post-'+id).removeClass('alternate');
|
||||
}
|
||||
}
|
||||
, 'html');
|
||||
return false;
|
||||
|
2
wp-admin/js/inline-edit-post.min.js
vendored
2
wp-admin/js/inline-edit-post.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user