$('#comment-' + comment_id).slideDown('slow');\r
},\r
\r
+ canned_comment: function(post_id, comment) {\r
+ $('#comment-' + post_id + '-form textarea').val(comment);\r
+ },\r
+\r
update_comment: function(comment_id, comment_text) {\r
var $comment = $('#comment-' + comment_id);\r
$comment.find('.comment-text').html(comment_text);\r
}\r
\r
start_command();\r
- $.post($form.attr('action'), post_data, function(data) {\r
+ $.post($form.attr('action'), $form.serialize(), function(data) {\r
process_ajax_response(data, evt, function(error) {\r
if (!error) {\r
cleanup_form();\r