12100 label select a file

This commit is contained in:
Fred Tempez 2023-01-02 18:03:48 +01:00
parent d60498e313
commit 714c4a4788

View File

@ -284,7 +284,8 @@ core.start = function() {
var inputFileHiddenDOM = $(this); var inputFileHiddenDOM = $(this);
var fileName = inputFileHiddenDOM.val(); var fileName = inputFileHiddenDOM.val();
if (fileName === "") { if (fileName === "") {
fileName = "Choisissez un fichier"; //fileName = "Sélectionner un fichier";
fileName = "<?php echo helper::translate('Sélectionner un fichier');?>";
$(inputFileHiddenDOM).addClass("disabled"); $(inputFileHiddenDOM).addClass("disabled");
} else { } else {
$(inputFileHiddenDOM).removeClass("disabled"); $(inputFileHiddenDOM).removeClass("disabled");