Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#2 | clientside_validation-2243873--2.patch | 1.78 KB | kbasarab |
#1 | clientside_validation-2243873.patch | 696 bytes | kbasarab |
Comments
Comment #1
kbasarab CreditAttribution: kbasarab commentedComment #2
kbasarab CreditAttribution: kbasarab commentedUpdates patch. This checks specifically for an object. The first patch hit continue on every aspect.
Comment #3
attiks CreditAttribution: attiks commentedRelated to #2279537: IE8: Unable to get property 'beforeSubmit' of undefined or null reference