Since this module uses drupal_add_js() insude of hook_form_alter() to add to the Drupal.settings object, if you create a View using nodes rather than fields the form_alter is run through for each node thus creating invalid values in the Drupal.settings object. The one setting that causes the ajax to fail is clean_url. I removed the clean_url and added it in hook_init() so it would only run once regardless, now it works. The best way to fix this is to use a static var to make sure it hasn't already been set.

Comments

JStarcher’s picture

Example: "language_mode": [ 0, 0, 0, 0, 0, 0, 0, 0, 0 ]

Obviously not correct.

neochief’s picture

Do you think you can help with the patch to solve the issue?

JStarcher’s picture

Yes but what I did doesn't solve the issue. If there are more than one nodes on a page, the ajax comments is only processed correctly for the first node. Working to solve the bigger issue.

rjbrown99’s picture

Hello - have you made any progress with a fix/patch for this issue? Thanks.

mikikiki’s picture

I have the same exact problem

qzmenko’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

Issue is closed because 6.x version is unsupported. Feel free to open new issue for 7.x or 8.x versions of module.