Skip to content
Extraits de code Groupes Projets
Valider 4856a41b rédigé par b_b's avatar b_b Validation de Gitea
Parcourir les fichiers

ne pas utiliser les valeur par défaut du picker en langue anglaise

sans quoi nos options persos ne sont pas prises en compte

fix #4858
parent b2880757
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -71,7 +71,7 @@ function date_picker_enable_on_this(opts) { ...@@ -71,7 +71,7 @@ function date_picker_enable_on_this(opts) {
var options = date_picker_options(); var options = date_picker_options();
var lang = '[(#LANG|texte_script)]'; var lang = '[(#LANG|texte_script)]';
if (typeof jQuery.fn.datepicker.dates !== "undefined"){ if (typeof jQuery.fn.datepicker.dates !== "undefined"){
if (typeof jQuery.fn.datepicker.dates[lang]==="undefined"){ if (typeof jQuery.fn.datepicker.dates[lang]==="undefined" || lang==='en'){
jQuery.fn.datepicker.dates[lang] = { jQuery.fn.datepicker.dates[lang] = {
days: options.dayNames, days: options.dayNames,
daysShort: options.dayNamesShort, daysShort: options.dayNamesShort,
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter