Fixed autofocus logic
Merge branch 'master' of github.com:mrjoes/flask-admin