2008-10-04 02:11:33 -04:00
|
|
|
function moveAddCommentForm(theId,threadId,respondId){
|
|
|
|
jQuery("#"+respondId).appendTo("#"+theId);
|
|
|
|
jQuery("#comment-parent").val(threadId);
|
|
|
|
jQuery("#cancel-comment-reply").show();
|
|
|
|
jQuery("#comment").focus();
|
2008-09-11 15:25:50 -04:00
|
|
|
}
|
2008-10-04 02:11:33 -04:00
|
|
|
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");
|
2008-09-30 13:27:15 -04:00
|
|
|
}
|
|
|
|
jQuery(document).ready(function($){
|
2008-10-04 02:11:33 -04:00
|
|
|
$(".thread-odd").find("div.reply").show();
|
|
|
|
$(".thread-even").find("div.reply").show();
|
|
|
|
});
|