mirror of
https://github.com/Alamantus/Lexiconga.git
synced 2025-06-18 23:26:39 +02:00
Focus into the edit form when created.
This commit is contained in:
parent
0a5eb01423
commit
d6e9741736
1 changed files with 2 additions and 0 deletions
|
@ -122,6 +122,8 @@ function ShowWordEditForm(index) {
|
||||||
|
|
||||||
SetPartsOfSpeech("partOfSpeech" + indexString);
|
SetPartsOfSpeech("partOfSpeech" + indexString);
|
||||||
document.getElementById("partOfSpeech" + indexString).value = htmlEntitiesParse(word.partOfSpeech);
|
document.getElementById("partOfSpeech" + indexString).value = htmlEntitiesParse(word.partOfSpeech);
|
||||||
|
|
||||||
|
document.getElementById("word" + indexString).focus();
|
||||||
}
|
}
|
||||||
|
|
||||||
function CancelEditForm(index) {
|
function CancelEditForm(index) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue