* wrap/python/ajax/ltl2tgba.html: Add focus on the formula field

on page load.
This commit is contained in:
Alexandre Duret-Lutz 2011-06-09 14:51:45 +02:00
parent d3ccaa7cb9
commit 8059047b21
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2011-06-09 Alexandre Duret-Lutz <adl@lrde.epita.fr>
* wrap/python/ajax/ltl2tgba.html: Add focus on the formula field
on page load.
2011-06-08 Alexandre Duret-Lutz <adl@lrde.epita.fr>
* NEWS: Update with recent changes.

View file

@ -105,7 +105,7 @@
$("#send").click(updateResults);
$("input,select").change(autoUpdate);
$('input[name="f"]').attr('spellcheck', false)
$('input[name="f"]').attr('spellcheck', false).focus()
.keydown(function(e){
if (e.keyCode == 13)
updateResults();