I create a view with ajax comments field
I create a context pane
I add the context pane to the view
I click on the ajax comments field and get a popup that states:

An AJAX HTTP error occurred.
HTTP Result Code: 404
Debugging information follows.
Path: /ajax_comments/reply/2/NULL/views?tok=YGXOhc2lc-G409GtktGxitVGylMBEIzRLBsXdi5AI7Q
StatusText: Not Found

Comments

muschpusch’s picture

The NULL is in the URL looks wrong... But i have no time to look into this right now. There is a tiny chance that this: #2108557: Support for no-javascript fallback could fix the issue since it rewrites most of the callback handling. Could you test it please?

SocialNicheGuru’s picture

already applied it and still get the error

SocialNicheGuru’s picture

Title: Ajax_comments is not working in a panel page » Ajax_comments field is not working in views or when added to a panel page

updated title

SocialNicheGuru’s picture

after looking at the other patch I found that this line in ajax_comments/views might have to be altered also:

views/ajax_comments_handler_field_ajax_add_comment.inc:50:      $path = 'ajax_comments/reply/' . $node->nid."/NULL/views";
muschpusch’s picture

ok could you add that to the patch in the other queue?

SocialNicheGuru’s picture

SocialNicheGuru’s picture

Title: Ajax_comments field is not working in views or when added to a panel page » Ajax_comments field is not working in views or when added to a panel page when using oa_comments
Issue tags: +oa_comments, +ajax_comments

When I have oa_comments enabled ajax_comments does not work.
It might have to do with the special theme templates

formatC'vt’s picture

oa_comments? what is this? Open Atrium?

formatC'vt’s picture

Open Atrium uses hardcoded classes for comments (in oa-comment--comment.tpl.php)
you can try change <div class='oa-list oa-comment well clearfix'> to this <div class='oa-list oa-comment well clearfix <?php print $classes; ?>'>

SocialNicheGuru’s picture

#9 does not work