This module doesn`t work with ajax_comments module.

In delete link there are no comment id
example:
Link in ajax_comments http://site/comment/delete/?token=5a3d9076a101d4badc616b6fe452a8bf

Link must be that: http://site/comment/delete/637?token=5a3d9076a101d4badc616b6fe452a8bf

Comments

drupalina’s picture

subscribing
I also have this issue. In fact, I have Ajax Comments and User Comments enabled and users can't delete their own comments at all !

Toxid’s picture

I've located the problem to the ajax comments module on line 232. The $comment seems to be empty. I don't know how to populate it though.

Toxid’s picture

This is an ajax comment problem, not comment delete. I've created a patch that solves it here: http://drupal.org/node/834200#comment-3276482

drupalina’s picture

Hi @Toxid -- I've applied your patch in #3 and it works perfectly!!! Thank you very much.

andreamoro’s picture

I found that if you delete the token from the delete url in the template, ajax won't work. It will send the ajax call but nothing will happen

bobooon’s picture

Issue summary: View changes
Status: Active » Closed (works as designed)