hide reply and cancel button with css when JS is disabled.

svn path=/plone.app.discussion/trunk/; revision=29403
This commit is contained in:
Timo Stollenwerk
2009-08-26 21:53:34 +00:00
parent d2ceb44a0c
commit defb4b91c4
3 changed files with 7 additions and 4 deletions
@@ -72,8 +72,8 @@ jq(document).ready(function() {
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");
reply_form.find("input[name='form.buttons.cancel']").css("display", "inline");
reply_form.find("input[name='form.buttons.reply']").removeClass("hide");
reply_form.find("input[name='form.buttons.cancel']").removeClass("hide");
/* Show the reply layer with a slide down effect */
reply_div.slideDown("slow");