Needs work
Project:
Ajax submit
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Jul 2009 at 10:59 UTC
Updated:
2 Apr 2010 at 17:36 UTC
If you create an input element and set the #tree attribute to TREU, the ajaxSubmit.success function won't be able to select the form element when the 'error' class has to be added on validation errors.
This patch fixes that.
| Comment | File | Size | Author |
|---|---|---|---|
| ajaxsubmit.js_.errors_on_tree_elements.patch | 622 bytes | skilip |
Comments
Comment #1
nedjoGood idea, but the use of id may fail if e.g. there are two forms on a page, since the id is not necessarily the same as the name. Can the patch be adapted to still use name?