Poll module ajax submission work fine in drupal 8. But after enabling the Nodejs/AJAX Framework module it breaks the drupal ajax. Now ajax submission of poll doesnot work. It throws javascript error like "Uncaught TypeError: Failed to execute 'contains' on 'Node': parameter 1 is not of type 'Node'." Any help on this would be great.

Comments

lostdev created an issue. See original summary.

lostdev’s picture

Issue summary: View changes
sumanthkumarc’s picture

i'm having similar problem. We are using Ajax modal api in drupal 8. We are getting similar JS error after ajax call success.

There is a similar error at below link but the patch gives Error of not an HTML element error.

Related issue Link raised in Core: https://www.drupal.org/node/2705327

Anonymous’s picture

Status: Needs work » Fixed

the nodejs_ajax module stopped working with the release of drupal core 8.4.

nodejs_ajax has now been updated to work with the changes in drupal core 8.4.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.