Skip to content

Commit

Permalink
[TASK] Set "keepFilename" to true by default
Browse files Browse the repository at this point in the history
One of the main use cases of replacing files is updating the content of a
referenced file with new revisions or changed content. The local filename
of the replacing file in most cases is not as relevant so by default
opting to keeping the filename makes sense for the end user.

Resolves: #96442
Releases: main
Change-Id: I9fbdc7229884b48433447eb1b9616623c3a09e33
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/76533
Tested-by: Benni Mack <benni@typo3.org>
Tested-by: core-ci <typo3@b13.com>
Tested-by: Oliver Bartsch <bo@cedev.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Reviewed-by: Oliver Bartsch <bo@cedev.de>
  • Loading branch information
pixeldesu authored and o-ba committed Nov 10, 2022
1 parent da16290 commit f34ad54
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ <h1><f:translate key="LLL:EXT:filelist/Resources/Private/Language/locallang.xlf:
<form action="{moduleUrlTceFile}" role="form" method="post" name="editform" enctype="multipart/form-data">
<div class="form-group">
<div class="form-check">
<input type="checkbox" value="1" id="keepFilename" name="data[replace][1][keepFilename]" class="form-check-input">
<input type="checkbox" value="1" id="keepFilename" name="data[replace][1][keepFilename]" class="form-check-input" checked>
<label class="form-check-label" for="keepFilename"><f:translate key="LLL:EXT:filelist/Resources/Private/Language/locallang.xlf:file_replace.php.keepfiletitle" /></label>
</div>
</div>
Expand Down

0 comments on commit f34ad54

Please sign in to comment.