Révision 42e6daf3
Ajouté par Julien Enselme il y a environ 10 ans
drupal7/modules/file/file.module | ||
---|---|---|
246 | 246 |
return array('#type' => 'ajax', '#commands' => $commands); |
247 | 247 |
} |
248 | 248 |
|
249 |
list($form, $form_state) = ajax_get_form(); |
|
249 |
list($form, $form_state, $form_id, $form_build_id, $commands) = ajax_get_form();
|
|
250 | 250 |
|
251 | 251 |
if (!$form) { |
252 | 252 |
// Invalid form_build_id. |
... | ... | |
284 | 284 |
$js = drupal_add_js(); |
285 | 285 |
$settings = call_user_func_array('array_merge_recursive', $js['settings']['data']); |
286 | 286 |
|
287 |
$commands = array(); |
|
288 | 287 |
$commands[] = ajax_command_replace(NULL, $output, $settings); |
289 | 288 |
return array('#type' => 'ajax', '#commands' => $commands); |
290 | 289 |
} |
Formats disponibles : Unified diff
Update drupal 7.26 -> 7.27