- Patch #146470 by ax: fixed typo in Form API3 conversion.
parent
4d8f12f9c0
commit
8a4451e3ca
|
@ -914,7 +914,7 @@ function upload_js() {
|
|||
);
|
||||
drupal_alter('form', $form, array(), 'upload_js');
|
||||
$form_state = array('submitted' => FALSE);
|
||||
$form = form_builder('upload_js', $form, array());
|
||||
$form = form_builder('upload_js', $form, $form_state);
|
||||
$output = theme('status_messages') . drupal_render($form);
|
||||
// We send the updated file attachments form.
|
||||
print drupal_to_js(array('status' => TRUE, 'data' => $output));
|
||||
|
|
Loading…
Reference in New Issue