I posted a patch earlier (http://drupal.org/node/1372104#comment-5475288) which converts gigya_comments.js to use Drupal.behaviors. This causes a bug in some circumstances when attaching the Drupal.gigya.addDrupalComment callback.

Drupal.gigya is not yet instantiated when gigya_comments tries to attach a function to it.

Comments

cameron tod’s picture

Here's a patch which moves the addDrupalComment definition into Drupal.behaviors.gigya_comments.attach. I have tested this locally and it seems to work, posting comments both to Gigya and to my local instance's Drupal database.

cameron tod’s picture

Status: Active » Needs review
StatusFileSize
new2.11 KB
gambaweb’s picture

Status: Needs review » Closed (fixed)

this has changed in recent versions.