Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #2
lostdev CreditAttribution: lostdev commentedComment #3
sumanthkumarc CreditAttribution: sumanthkumarc at Azri Solutions commentedi'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
Comment #4
Anonymous (not verified) CreditAttribution: Anonymous commentedthe 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.