It took me awhile to figure out why my code to ajaxify the webform was not working. Ajax on the submit button needs the id on the button. That id is removed in webform_pre_render_remove_id(). The function checks for #states before removing the id, but it also needs to check for #ajax.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | webform-ajax_id_check-2438363-3.patch | 1.26 KB | danchadwick |
Comments
Comment #1
danchadwick commentedPatches welcome.
Comment #2
amaria commentedOk. I left out the part that I'll submit a patch if no one else does, once I'm done with this project deadline. :)
Comment #3
danchadwick commentedCommitted to 7.x-4.x and 8.x.