Commit daca20e0 authored by Steven Wittens's avatar Steven Wittens

#37378: Missing for _form_builder() in js upload

parent aeed4cd8
......@@ -517,7 +517,7 @@ function upload_js() {
$node = array2object($_POST['edit']);
upload_nodeapi($node, 'validate', NULL);
$form = _upload_form($node);
$form = _form_builder($form);
$form = _form_builder('upload_js', $form);
$output = theme('status_messages') . form_render($form);
// We send the updated file attachments form.
......
......@@ -517,7 +517,7 @@ function upload_js() {
$node = array2object($_POST['edit']);
upload_nodeapi($node, 'validate', NULL);
$form = _upload_form($node);
$form = _form_builder($form);
$form = _form_builder('upload_js', $form);
$output = theme('status_messages') . form_render($form);
// We send the updated file attachments form.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment