fix: add form serialized data to the delete comment ajax form submit
Even if in fresh Plone there is no data, I'm in a case where I'm adding 'ajax' marker in the form to not render all the page (which is the case here) and the render is not used at all except if the action do not happens in ajax.
This commit is contained in:
parent
0d18a6dd57
commit
34bbd39829
@ -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)
|
||||
------------------
|
||||
|
@ -177,6 +177,7 @@
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: form_url,
|
||||
data: data,
|
||||
context: $(trigger).parents(".comment"),
|
||||
success: function (data) {
|
||||
var comment = $(this);
|
||||
|
Loading…
Reference in New Issue
Block a user