[10.0.25.dev] Modification du traiatement de changement de langue
dans la barre de membre
This commit is contained in:
parent
758313376d
commit
7a90458a3c
@ -249,6 +249,15 @@ core.start = function() {
|
||||
if(pageUrl) {
|
||||
$(location).attr("href", pageUrl);
|
||||
}
|
||||
});
|
||||
/**
|
||||
* Choix de la langue dans la barre de membre
|
||||
*/
|
||||
$("#barSelectLanguage").on("change", function(){
|
||||
var i18nLang = $(this).val();
|
||||
if(i18nLang) {
|
||||
$("#barFormSelectLanguage").submit();
|
||||
}
|
||||
});
|
||||
/**
|
||||
* Champs d'upload de fichiers
|
||||
@ -376,14 +385,3 @@ $(document).ready(function(){
|
||||
$("#navfixedconnected .navLevel2").css({ 'pointer-events' : 'none' });
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
/**
|
||||
* Traitement du changement de langue
|
||||
*/
|
||||
|
||||
$(document).ready(function(){
|
||||
$("#barSelectLanguage").click(function(){
|
||||
$("#barFormSelectLanguage").submit();
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user