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

#60532: Multiple file upload broken in some browsers (fix)

parent 23bd2c00
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
......@@ -592,6 +592,9 @@ function _upload_form($node) {
return $form;
}
/**
* Theme the attachments list.
*/
function theme_upload_form_current(&$form) {
$header = array(t('Delete'), t('List'), t('Description'), t('Size'));
......@@ -608,6 +611,15 @@ function theme_upload_form_current(&$form) {
return $output;
}
/**
* Theme the attachment form.
* Note: required to output prefix/suffix.
*/
function theme_upload_form_new($form) {
$output = form_render($form);
return $output;
}
function upload_load($node) {
$files = array();
......
......@@ -592,6 +592,9 @@ function _upload_form($node) {
return $form;
}
/**
* Theme the attachments list.
*/
function theme_upload_form_current(&$form) {
$header = array(t('Delete'), t('List'), t('Description'), t('Size'));
......@@ -608,6 +611,15 @@ function theme_upload_form_current(&$form) {
return $output;
}
/**
* Theme the attachment form.
* Note: required to output prefix/suffix.
*/
function theme_upload_form_new($form) {
$output = form_render($form);
return $output;
}
function upload_load($node) {
$files = array();
......
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