Add new comment from post edit screen, partial props: garyc40, see #15527

git-svn-id: https://develop.svn.wordpress.org/trunk@20164 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2012-03-09 01:30:11 +00:00
parent 746cb153c1
commit 654e72714c
8 changed files with 120 additions and 91 deletions
+3 -2
View File
@@ -211,10 +211,11 @@ commentsBox = {
if ( commentsBox.st > commentsBox.total )
$('#show-comments').hide();
else
$('#show-comments').html(postL10n.showcomm);
$('#show-comments').show().children('a').html(postL10n.showcomm);
return;
} else if ( 1 == r ) {
$('#show-comments').parent().html(postL10n.endcomm);
$('#show-comments').html(postL10n.endcomm);
return;
}