Fix quick edit error message styling, props solarissmoke, fixes #16912, fixes #14317

Fix top margin in bulk edit posts

git-svn-id: https://develop.svn.wordpress.org/trunk@18158 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2011-06-06 01:14:26 +00:00
parent ebbcce1b80
commit 76f9fca002
5 changed files with 11 additions and 6 deletions
+2 -2
View File
@@ -249,10 +249,10 @@ inlineEditPost = {
$(inlineEditPost.what+id).hide().fadeIn();
} else {
r = r.replace( /<.[^<>]*?>/g, '' );
$('#edit-'+id+' .inline-edit-save').append('<span class="error">'+r+'</span>');
$('#edit-'+id+' .inline-edit-save .error').html(r).show();
}
} else {
$('#edit-'+id+' .inline-edit-save').append('<span class="error">'+inlineEditL10n.error+'</span>');
$('#edit-'+id+' .inline-edit-save .error').html(inlineEditL10n.error).show();
}
}
, 'html');