Skip to content
This repository was archived by the owner on May 22, 2019. It is now read-only.

Commit 6ec7e49

Browse files
committed
automatically focus the password field when it is shown. Fixes #118
1 parent 9bdb91e commit 6ec7e49

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

build/utils.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ do_build() {
4848
do_install() {
4949
[[ -e "${DESTDIR}" ]] || mkdir -p "${DESTDIR}"
5050
find "${INSTALL_ROOT}" -type f -name '.git*' -delete
51-
find "${INSTALL_ROOT}" -type d -name '.tx' -delete
51+
rm-rf "${INSTALL_ROOT}/usr/share/web-greeter/themes/default/.tx"
5252
cp -R "${INSTALL_ROOT}"/* "${DESTDIR}"
5353
}
5454

themes/default/js/greeter.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -651,6 +651,7 @@ class Theme {
651651

652652
$( '#session-list' ).removeClass( 'hidden' ).show();
653653
$( '#passwordArea' ).show();
654+
$('#passwordField').focus();
654655
$( '.dropdown-toggle' ).dropdown();
655656

656657
this.auth_pending = true;

0 commit comments

Comments
 (0)