diff --git a/CHANGES.rst b/CHANGES.rst index 41f39d6..5d9f16f 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -7,6 +7,8 @@ Changelog - Rename CHANGES.txt to CHANGES.rst. [timo] +- Fix ajax form submit for delete comment action: add 'data' to the request. + [toutpt] 2.2.8 (2013-08-20) ------------------ diff --git a/plone/app/discussion/browser/javascripts/comments.js b/plone/app/discussion/browser/javascripts/comments.js index 9678c6d..25accda 100644 --- a/plone/app/discussion/browser/javascripts/comments.js +++ b/plone/app/discussion/browser/javascripts/comments.js @@ -177,6 +177,7 @@ $.ajax({ type: 'POST', url: form_url, + data: data, context: $(trigger).parents(".comment"), success: function (data) { var comment = $(this);