Currently, on successful ajax form submission, no data is returned.
The change here would be to first allow modules to alter data being returned (and add callbacks), and then change the js success function to call those callbacks if any are defined (similar to how Drupal.editablefields.view currently executes callbacks if they are returned).
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | editablefields-1266980-03.patch | 1.58 KB | jhedstrom |
| #2 | editablefields-1266980-02.patch | 1.57 KB | jhedstrom |
| #1 | editablefields-1266980-01.patch | 1.54 KB | jhedstrom |
Comments
Comment #1
jhedstromHere's a simple patch. The data return is now json for the POST ajax call.
Comment #2
jhedstromUpdated patch that mimics the feature request here: #1266926: Expose node ID to the ajax_data alter hook.
Comment #3
jhedstromRe-rolling to dev.
Comment #4
mengi commentedPer https://drupal.org/node/2148735, 6.x is longer maintained so issue is closed. If you wish to be a maintainer of the 6.x branch please create a new issue.