Focus into the edit form when created.

This commit is contained in:
Robbie Antenesse 2016-07-11 15:39:31 -06:00
parent 0a5eb01423
commit d6e9741736
1 changed files with 2 additions and 0 deletions

View File

@ -122,6 +122,8 @@ function ShowWordEditForm(index) {
SetPartsOfSpeech("partOfSpeech" + indexString);
document.getElementById("partOfSpeech" + indexString).value = htmlEntitiesParse(word.partOfSpeech);
document.getElementById("word" + indexString).focus();
}
function CancelEditForm(index) {