fix reply bug ("TypeError: long() argument must be a string or a number") in Chrome.
svn path=/plone.app.discussion/trunk/; revision=27535
This commit is contained in:
parent
e9f24cfa74
commit
4102fb6f6f
@ -37,7 +37,7 @@ jq(document).ready(function() {
|
|||||||
var reply_form = reply_div.find("form");
|
var reply_form = reply_div.find("form");
|
||||||
|
|
||||||
/* Add a hidden field with the id of the comment */
|
/* Add a hidden field with the id of the comment */
|
||||||
reply_form.append("<input type=\"hidden\" value=\"" + comment_id + "\" name=\"form.reply_to_comment_id\"");
|
reply_form.append("<input type=\"hidden\" value=\"" + comment_id + "\" name=\"form.reply_to_comment_id\" />");
|
||||||
|
|
||||||
/* Change the form action to @@reply-to-comment */
|
/* Change the form action to @@reply-to-comment */
|
||||||
var old_action = reply_form.attr("action");
|
var old_action = reply_form.attr("action");
|
||||||
|
Loading…
Reference in New Issue
Block a user