fix reply-to-comment form buttons.
svn path=/plone.app.discussion/trunk/; revision=29405
This commit is contained in:
parent
8e406ccf2d
commit
72ac358c4c
@ -86,7 +86,7 @@
|
|||||||
This is the body text of the comment.
|
This is the body text of the comment.
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<button class="context reply-to-comment-button allowMultiSubmit"
|
<button class="context reply-to-comment-button hide allowMultiSubmit"
|
||||||
tal:condition="python:userHasReplyPermission and isDiscussionAllowed or isAnonymousDiscussionAllowed"
|
tal:condition="python:userHasReplyPermission and isDiscussionAllowed or isAnonymousDiscussionAllowed"
|
||||||
i18n:translate="label_reply;">
|
i18n:translate="label_reply;">
|
||||||
Reply
|
Reply
|
||||||
|
@ -72,8 +72,8 @@ jq(document).ready(function() {
|
|||||||
reply_form.find("input[name='form.buttons.comment']").css("display", "none");
|
reply_form.find("input[name='form.buttons.comment']").css("display", "none");
|
||||||
|
|
||||||
/* Show the reply and cancel buttons. */
|
/* Show the reply and cancel buttons. */
|
||||||
reply_form.find("input[name='form.buttons.reply']").removeClass("hide");
|
reply_form.find("input[name='form.buttons.reply']").css("display", "inline");
|
||||||
reply_form.find("input[name='form.buttons.cancel']").removeClass("hide");
|
reply_form.find("input[name='form.buttons.cancel']").css("display", "inline");
|
||||||
|
|
||||||
/* Show the reply layer with a slide down effect */
|
/* Show the reply layer with a slide down effect */
|
||||||
reply_div.slideDown("slow");
|
reply_div.slideDown("slow");
|
||||||
|
Loading…
Reference in New Issue
Block a user