From d6e97417369fff7730d86fcc355fd1f7f724f3bc Mon Sep 17 00:00:00 2001 From: Robbie Antenesse Date: Mon, 11 Jul 2016 15:39:31 -0600 Subject: [PATCH] Focus into the edit form when created. --- js/dictionaryBuilder.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/dictionaryBuilder.js b/js/dictionaryBuilder.js index a8fc479..65730f6 100644 --- a/js/dictionaryBuilder.js +++ b/js/dictionaryBuilder.js @@ -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) {