we have a hidden selector at $form['media_browser']['drawer_select'] (with an easter egg description for non-javascript browsers...)
we need to tie that into the form, so that js will automatically select the proper option (which is in '[tab]|['drawer]' pairs) that corresponds to the currently active formset displayed. that way we'll know which file is the proper file to send.
Comments
Comment #1
arthurf commentedClosing this as we are looking at the jquery option in http://drupal.org/node/612800