I'm asking because I want to fix http://drupal.org/node/1957602
So, managed file can be saved in 2 ways:
- File can be ajax-uploaded and form then submitted
- File can be selected and form submitted without clicking upload - file gets uploaded as a part of form's submission
Where actual operations are performed? Where is second case coded?