Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: arthurf commentedClosing this as we are looking at the jquery option in http://drupal.org/node/612800