Skip to content
Snippets Groups Projects
Commit daca20e0 authored by Steven Wittens's avatar Steven Wittens
Browse files

#37378: Missing for _form_builder() in js upload

parent aeed4cd8
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment