mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-02 16:59:35 +01:00
90792c9a3d
git-svn-id: http://svn.automattic.com/wordpress/trunk@9082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
18 lines
589 B
JavaScript
18 lines
589 B
JavaScript
function moveAddCommentForm(theId,threadId,respondId){
|
|
jQuery("#"+respondId).appendTo("#"+theId);
|
|
jQuery("#comment-parent").val(threadId);
|
|
jQuery("#cancel-comment-reply").show();
|
|
jQuery("#comment").focus();
|
|
}
|
|
function cancelCommentReply(respondId,respondRoot){
|
|
jQuery("#cancel-comment-reply").hide();
|
|
jQuery("#"+respondId).appendTo("#"+respondRoot);
|
|
document.location.href="#respond";
|
|
jQuery("#comment").focus();
|
|
jQuery("#comment-parent").val("0");
|
|
}
|
|
jQuery(document).ready(function($){
|
|
$(".thread-odd").find("div.reply").show();
|
|
$(".thread-even").find("div.reply").show();
|
|
});
|