The Disqus element provides a #callback property to add callback arrays for Disqus api like for onNewComment event but it doesn't work because there is no handling for that in code.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

guptahemant created an issue. See original summary.

guptahemant’s picture

Status: Active » Needs review
FileSize
2.75 KB

Here is an attached patch to solve the issue.
Please review.

guptahemant’s picture

Title: #callbacks in disus element doesn't work. » #callbacks in disqus element doesn't work.
james.williams’s picture

Status: Needs review » Reviewed & tested by the community

Works perfectly for me, thanks!

  • guptahemant authored 64b8131 on 8.x-1.x
    Issue #2931745 by guptahemant: #callbacks in disqus element doesn't work
    
gaurav.kapoor’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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