- Patch #146470 by ax: fixed typo in Form API3 conversion.

6.x
Dries Buytaert 2007-05-29 16:06:07 +00:00
parent 4d8f12f9c0
commit 8a4451e3ca
1 changed files with 1 additions and 1 deletions

View File

@ -914,7 +914,7 @@ function upload_js() {
); );
drupal_alter('form', $form, array(), 'upload_js'); drupal_alter('form', $form, array(), 'upload_js');
$form_state = array('submitted' => FALSE); $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); $output = theme('status_messages') . drupal_render($form);
// We send the updated file attachments form. // We send the updated file attachments form.
print drupal_to_js(array('status' => TRUE, 'data' => $output)); print drupal_to_js(array('status' => TRUE, 'data' => $output));