autofocus first term of autocomplete for convenience

This commit is contained in:
Toks
2013-06-19 22:23:22 -04:00
parent ba539b0e18
commit 62a3391c04
4 changed files with 4 additions and 0 deletions

View File

@@ -16,6 +16,7 @@
$("#c-pool-elements #a-new input[type=text]").autocomplete({
minLength: 1,
autoFocus: true,
source: function(req, resp) {
$.ajax({
url: "/pools.json",