computerminds/cm_tools — pull request #8 by jamsilver (2012-11-26 15:31:40+00:00)
Title: A handy AJAX callback function

So this is something I used on LeBoat Booking Process.

Basically it allows you to specify the ajax commands you want to return on the '#ajax'-enabled form element itself, rather than needing to make a separate callback to handle it.

In my humble opinion, this makes the $form constructor easier to understand, because you can see all the logic in one place, rather than having to scoot around multiple places.

It may be one or two steps too close to crazy for some though =p.