add slidedown effect when the reply-to-comment form is opened.
svn path=/plone.app.discussion/trunk/; revision=27310
This commit is contained in:
parent
1ad75fa84f
commit
854f98ebbe
@ -19,8 +19,9 @@ function createReplyToCommentForm(comment_id) {
|
||||
* the regular comment form and insert it after the reply button of the
|
||||
* current comment.
|
||||
*/
|
||||
reply_div = jq("#commenting").clone(true); /* select the clone, not the original */
|
||||
reply_div.insertAfter(button, reply_div.show("slow"));
|
||||
reply_div = jq("#commenting").clone(true);
|
||||
reply_div.insertAfter(button).css("display", "none")
|
||||
reply_div.slideDown("slow");
|
||||
|
||||
/* Remove id="reply" attribute, since we use it to uniquely
|
||||
the main reply form. */
|
||||
|
Loading…
Reference in New Issue
Block a user