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.
 | 
			
		||||
                </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"
 | 
			
		||||
                        i18n:translate="label_reply;">
 | 
			
		||||
                    Reply
 | 
			
		||||
 | 
			
		||||
@ -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']").removeClass("hide");
 | 
			
		||||
        reply_form.find("input[name='form.buttons.cancel']").removeClass("hide");
 | 
			
		||||
        reply_form.find("input[name='form.buttons.reply']").css("display", "inline");
 | 
			
		||||
        reply_form.find("input[name='form.buttons.cancel']").css("display", "inline");
 | 
			
		||||
 | 
			
		||||
        /* Show the reply layer with a slide down effect */
 | 
			
		||||
        reply_div.slideDown("slow");
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user