Attached is a patch to cleanup JS code:

  • Refactored code to follow Drupal's coding standards
  • Fixed the context not being used resulting in ads script firing on all ajax calls.
  • Fixed unidentified jQuery when used in ajax calls
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

alex.designworks created an issue. See original summary.

alex.skrypnyk’s picture

Status: Active » Needs review
FileSize
1.87 KB

Patch attached