From 5605518bcd2b3eab0b450cd93f86df729985745e Mon Sep 17 00:00:00 2001 From: joyqi Date: Wed, 16 Oct 2013 21:28:39 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=84=E8=AE=BA=E5=9B=9E=E5=A4=8D=E6=90=9E?= =?UTF-8?q?=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/manage-comments.php | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/admin/manage-comments.php b/admin/manage-comments.php index 853e3e3f..500ea934 100644 --- a/admin/manage-comments.php +++ b/admin/manage-comments.php @@ -136,10 +136,7 @@ $comments = Typecho_Widget::widget('Widget_Comments_Admin');
dateWord(); ?> 于 title(); ?>
content(); ?> -
-
-

some replys here ...

-
+
status): ?> @@ -248,12 +245,16 @@ $(document).ready(function () { var textarea = $('textarea', form).focus(); form.submit(function () { - var t = $(this), tr = t.parents('tr'); + var t = $(this), tr = t.parents('tr'), + reply = $('
').insertAfter($('.comment-content', tr)); + reply.html('

' + textarea.val() + '

'); $.post(t.attr('action'), t.serialize(), function (o) { - t.remove(); + reply.html(o.comment.content) + .effect('highlight', '#AACB36'); }); + t.remove(); return false; }); }