When custom modules use content_fields() and content_field_form() to partially use certain fields, the structure of the form might or might not include the original fieldgroup array structure. So, the AHAH return action should check to see if it was successfully getting the form field return, if not, try to get the field without using the fieldgroup.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

quicksketch’s picture

Status: Needs review » Fixed
FileSize
378 bytes

Thanks, I'm not entirely sure what benefit you're talking about, but such a minor change is easy to accommodate. I've committed this patch which is equivalent but doesn't duplicate conditions.

quicksketch’s picture

Category: bug » task

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.