Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Pédagogies Multimodales
Phonographe
Commits
fa9cda46
Commit
fa9cda46
authored
Aug 16, 2022
by
Sylvain Coulange
🌼
Browse files
debug init graphies lors de changement de langue
parent
6f41ef5b
Changes
1
Hide whitespace changes
Inline
Side-by-side
static/js/interface.js
View file @
fa9cda46
...
...
@@ -27,6 +27,7 @@ function selectLang(lang, p="default", f="default"){
document
.
getElementById
(
'
choixLang
'
).
value
=
lang
;
var
phonolist
=
document
.
getElementById
(
'
selectPanneau
'
);
var
fidellist
=
document
.
getElementById
(
'
selectFidel
'
);
phonolist
.
innerHTML
=
''
;
fidellist
.
innerHTML
=
''
;
if
(
lang
==
"
fr
"
){
...
...
@@ -356,7 +357,9 @@ function selectFidel(f){
}
fidel
=
dicoFidels
[
f
];
document
.
getElementById
(
'
selectFidel
'
).
value
=
f
;
if
(
currentPhon
&&
modeGraphies
==
1
)
recupPhon
(
currentPhon
);
if
(
thisPageLang
==
"
zh
"
)
initGraph
();
if
(
thisPageLang
!=
"
zh
"
&&
document
.
getElementById
(
'
hanDiv
'
)
!=
null
)
document
.
getElementById
(
'
hanDiv
'
).
innerHTML
=
""
;
if
(
currentPhon
&&
modeGraphies
==
1
&&
thisPageLang
!=
"
shy
"
&&
thisPageLang
!=
"
zh
"
)
recupPhon
(
currentPhon
);
}
function
interface
(
lang
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment