Focus into the edit form when created.
This commit is contained in:
parent
0a5eb01423
commit
d6e9741736
|
@ -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…
Reference in New Issue