diff --git a/typo3/sysext/backend/Resources/Public/JavaScript/DragUploader.js b/typo3/sysext/backend/Resources/Public/JavaScript/DragUploader.js index cb44f778cfd9..bf7c2cf550e2 100644 --- a/typo3/sysext/backend/Resources/Public/JavaScript/DragUploader.js +++ b/typo3/sysext/backend/Resources/Public/JavaScript/DragUploader.js @@ -258,7 +258,10 @@ define(['jquery', // no filelist then create own progress table if (me.$fileList.length === 0) { - me.$fileList = $('').attr('id', 'typo3-filelist').addClass('table table-striped table-hover upload-queue').html('').hide(); + me.$fileList = $('
') + .attr('id', 'typo3-filelist') + .addClass('table table-striped table-hover upload-queue') + .html('').hide(); if (me.dropZoneInsertBefore) { me.$fileList.insertAfter(me.$dropzone); } else { @@ -304,12 +307,14 @@ define(['jquery', } var $modalContent = $('
').append( $('

').text(TYPO3.lang['file_upload.existingfiles.description']), - $('

').append( - $('').append( - $('
'), - $('').text(TYPO3.lang['file_upload.header.originalFile']), - $('').text(TYPO3.lang['file_upload.header.uploadedFile']), - $('').text(TYPO3.lang['file_upload.header.action']) + $('', {class: 'table'}).append( + $('').append( + $('').append( + $('').append($record); } var $modal = Modal.confirm(TYPO3.lang['file_upload.existingfiles.title'], $modalContent, Severity.warning, [
'), + $('').text(TYPO3.lang['file_upload.header.originalFile']), + $('').text(TYPO3.lang['file_upload.header.uploadedFile']), + $('').text(TYPO3.lang['file_upload.header.action']) + ) ) ) ); @@ -339,7 +344,7 @@ define(['jquery', ) ) ); - $modalContent.find('table').append($record); + $modalContent.find('table').append('