diff --git a/files/templates/comments.html b/files/templates/comments.html
index 3aaadf914..63452260f 100644
--- a/files/templates/comments.html
+++ b/files/templates/comments.html
@@ -188,10 +188,10 @@
Cancel
- Reply
+ Reply
Cancel
- Reply
+ Reply
{% endif %}
diff --git a/files/templates/default.html b/files/templates/default.html
index 0933200a4..2847a2230 100644
--- a/files/templates/default.html
+++ b/files/templates/default.html
@@ -519,12 +519,12 @@
}
- post_reply=function(fullname){
+ post_reply=function(id){
var form = new FormData();
form.append('formkey', formkey());
- form.append('parent_fullname', fullname);
+ form.append('parent_id', id);
form.append('body', document.getElementById('reply-form-body-'+fullname).value);
form.append('file', document.getElementById('file-upload-reply-'+fullname).files[0]);
var xhr = new XMLHttpRequest();