diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-05-05 01:51:29 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-05-05 01:51:29 +0400 |
commit | bea887db3a6af603d5fdcc16165d4207ac3ab897 (patch) | |
tree | de6f210947c89e9c9f11e7f3fb1d74064171d97a /plugins/Installation/javascripts | |
parent | dc30088078a0f4e526f79a0a9424fed512e5e4c7 (diff) |
Automatically focus the first input field in the installation forms
Diffstat (limited to 'plugins/Installation/javascripts')
-rw-r--r-- | plugins/Installation/javascripts/installation.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/Installation/javascripts/installation.js b/plugins/Installation/javascripts/installation.js index 8bfc92a0b1..11e63879c3 100644 --- a/plugins/Installation/javascripts/installation.js +++ b/plugins/Installation/javascripts/installation.js @@ -5,4 +5,7 @@ $(function () { value: parseInt($('#progressbar').attr('data-progress')) }); $('code').click(function () { $(this).select(); }); + + // Focus the first input field in the form + $('form:not(.filter) :input:visible:enabled:first').focus(); });
\ No newline at end of file |