Projet

Général

Profil

Révision da542b7b

Ajouté par Assos Assos il y a plus de 7 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/media/includes/media.browser.inc
14 14

  
15 15
  $params = media_get_browser_params();
16 16

  
17
  // If we just did a multiple upload, do the multiform file edit. The flag that
18
  // tells us that we need to do this is $params['render_multi_edit_form'].
19
  if (isset($params['render_multi_edit_form']) && isset($params['fid']) && module_exists('media_bulk_upload')) {
20
    module_load_include('inc', 'media_bulk_upload', 'includes/media_bulk_upload.pages');
21
    $files = file_load_multiple($params['fid']);
22
    $multi_edit_form = media_bulk_upload_file_page_edit_multiple($files);
23
    $multi_edit_form['buttons']['cancel']['#access'] = FALSE;
24
    return $multi_edit_form;
25
  }
26

  
17 27
  // If one or more files have been selected, the browser interaction is now
18 28
  // complete. Return empty page content to the dialog which now needs to close,
19 29
  // but populate Drupal.settings with information about the selected files.

Formats disponibles : Unified diff