When using the Panels In-Place Editor module together with Clientside Validation, an AJAX error is popping up when trying to save changes in the panel page after an AJAX reload.
It seems to be similar to https://www.drupal.org/node/2454141, although the fix didn't work for 7.x-1.41 and the error seems to be different. The error thrown is the following:
Uncaught TypeError: Cannot read property 'undefined' of undefined
on clientside_validation.js:1485.
It seems the error comes from the lack of validation on the "ajax_form" variable, since the IPE panels form isn't supposed to be validated at any rate.
Here's how I've patched it, so far it seems it's been working just fine. Any feedback is appreciated!
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | clientside_validation-compatibility_ipe_panels-2494731-2-D7.patch | 783 bytes | aChris07 |
| clientside_validation-compatibility_ipe_panels-1-D7.patch | 1007 bytes | aChris07 |
Comments
Comment #1
aChris07 commentedComment #2
aChris07 commentedUpdated the patch for 7.x-1.x-dev, with the proper directory structure.
Comment #3
rodrigoaguileraI found another conflict in clientside validation 2.x
Comment #4
attiks commentedThanks