If jQuery is not updated, We see JavaScript errors that prevent submission of the signup form. Enabling jQuery Update solved the issue, however there is no mention of this requirement in either the README nor is it listed as a dependency.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

tflanagan created an issue. See original summary.

tflanagan’s picture

Issue summary: View changes
markdorison’s picture

.on() was not included until jQuery 1.7. We can either refactor the javascript to not use that function or we should require that at least jQuery 1.7 is in use.

markdorison’s picture

markdorison’s picture

Title: JavaScript errors are thrown without updating jQuery. » JavaScript errors thrown on signup form when using core version of jQuery
Priority: Normal » Major
markdorison’s picture

Status: Active » Needs review
FileSize
2.38 KB
  • Replaced .on() with .bind(). .on() was not added until jQuery 1.7.
  • Replaced .prop() with .attr(). .attr() was not added until jQuery 1.6.
aburke626’s picture

Tested and it looks good, no errors!

aburke626’s picture

Status: Needs review » Reviewed & tested by the community

aburke626’s picture

aburke626’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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