Issue Bug Closed

#86152wrong column label in drawOverrideModal dialog

Rainer Plöckl 09/05/18, 13:07 updated 10/02/18, 10:28

Description

there is mismatch of the labeling in the DragUopload.js when the overwrite dialogue (drawOverrideModal) appears.

The labels for columns are specified as:
@ $(’‘).text(TYPO3.lang[‘file_upload.header.originalFile’]),
$(’‘).text(TYPO3.lang[‘file_upload.header.uploadedFile’]),
@

but the ordering for the file details are later in the opposite order, first the uploaded and then the original.

askForOverride[i].uploaded.name + ' (' + (DragUploader.fileSizeAsString(askForOverride[i].uploaded.size)) + ')' +
'<br>' + moment(askForOverride[i].uploaded.lastModified, 'x').format('YYYY-MM-DD HH:mm')
),
$('<td />').html(
askForOverride[i].uploaded.name + ' (' +
(DragUploader.fileSizeAsString(askForOverride[i].original.size)) + ')' +
'<br>' + moment(askForOverride[i].original.mtime, 'X').format('YYYY-MM-DD HH:mm')

Seen in Typo3 8.7.*

Reviews 2