Whichever button is clicked, the first op is the one whose formSubmit() is called.

I suspect this is to do with the way FormAPI caches forms -- all the forms shown in the fieldset are the same form ID.

One way to fix this might be to make a superform with #tree = TRUE on each tree of operation form elements.

Comments

joachim’s picture

Status: Active » Fixed

This is now fixed.

Status: Fixed » Closed (fixed)

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