Some angular code we have extends Drupal's ajax functionality and but that caused issues with Client Side Validation in a CTools Modal.

Uncaught TypeError: Cannot read property 'beforeSubmit' of undefined 

That was throwing inside clientside_validation.js on line 1419

This patch attached resolve the issue by checking for type.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

kbasarab’s picture

kbasarab’s picture

Updates patch. This checks specifically for an object. The first patch hit continue on every aspect.

attiks’s picture