Révision ca0757b9
Ajouté par Assos Assos il y a plus de 9 ans
drupal7/sites/all/modules/media/includes/MediaBrowserUpload.inc | ||
---|---|---|
25 | 25 |
module_load_include('inc', 'file_entity', 'file_entity.pages'); |
26 | 26 |
|
27 | 27 |
$build = array(); |
28 |
if ($this->params['multiselect'] && module_exists('plupload')) { |
|
29 |
$build['form'] = drupal_get_form('file_entity_add_upload_multiple', $this->params); |
|
30 |
$build['#attached']['js'][] = drupal_get_path('module', 'media') . '/js/plugins/media.upload_multiple.js'; |
|
31 |
} |
|
32 |
else { |
|
33 |
$build['form'] = drupal_get_form('file_entity_add_upload', $this->params); |
|
34 |
} |
|
28 |
$build['form'] = drupal_get_form('file_entity_add_upload', $this->params); |
|
35 | 29 |
|
36 | 30 |
return $build; |
37 | 31 |
} |
Formats disponibles : Unified diff
Weekly update of contrib modules