forked from ZwiiCMS-Team/ZwiiCMS
12100 label select a file
This commit is contained in:
parent
d60498e313
commit
714c4a4788
@ -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");
|
||||||
|
Loading…
Reference in New Issue
Block a user