code cleanup;

reply to comment button and handler removed; 
reply-to-comment is now handled by the comment handler as well;
this also solves story 1173673;

svn path=/plone.app.discussion/trunk/; revision=29434
This commit is contained in:
Timo Stollenwerk
2009-08-28 13:03:16 +00:00
parent 1747a3655b
commit 48ab88a8b4
2 changed files with 24 additions and 104 deletions
@@ -76,11 +76,7 @@ jq(document).ready(function() {
var cancel_reply_button = reply_div.find(".cancelreplytocomment");
cancel_reply_button.attr("id", comment_id);
/* Hide the comment button */
reply_form.find("input[name='form.buttons.comment']").css("display", "none");
/* Show the reply and cancel buttons. */
reply_form.find("input[name='form.buttons.reply']").css("display", "inline");
/* Show the cancel buttons. */
reply_form.find("input[name='form.buttons.cancel']").css("display", "inline");
/* Show the reply layer with a slide down effect */