mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
git-svn-id: https://develop.svn.wordpress.org/trunk@9082 602fd350-edb4-49c9-b593-d223f7449a82
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();
|
|
});
|