Updated: Comment #0
I have been trying to use the 'new' drupalPost() method for an AJAX request, to find out that I need to update the current content based on its results - drupalPostAjaxForm() will do it, but I do not want to use it.
Make the code in drupalPostAjaxForm() that processes the AJAX response into the current content, as a protected method of its own.
This way we'd have a core method to update the current content after a drupalPost() call with AJAX header.
Otherwise each extending class will have to find its own solution in that case.
User interface changes
No changes, just one method added.
PASSED: [[SimpleTest]]: [MySQL] 59,216 pass(es).
PASSED: [[SimpleTest]]: [MySQL] 59,299 pass(es).
PASSED: [[SimpleTest]]: [MySQL] 59,258 pass(es).