Implementations of ajax commands in ajax_comments.js are using incorrect context in Drupal.attachBehaviors()
There are should be Drupal.attachBehaviors(response.html, settings); instead Drupal.attachBehaviors(response.data, settings); because response.data is undefined in response.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ElegguaDP created an issue. See original summary.

ElegguaDP’s picture

Status: Active » Needs review
FileSize
2.02 KB

Small patch is replacing Drupal.attachBehaviors(response.data, settings); with Drupal.attachBehaviors(response.html, settings);

SocialNicheGuru’s picture

how can I test this? What error does this solve?