mirror of
https://github.com/kakwa/ldapcherry
synced 2025-07-04 20:37:48 +02:00
force focus on the first input of forms
This commit is contained in:
parent
ce09b60158
commit
655ccabd79
1 changed files with 5 additions and 0 deletions
|
@ -121,4 +121,9 @@ if (fields['${attrid}'] != null) {
|
|||
};
|
||||
% endfor
|
||||
</script>
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$('form:eq(1) *:input[type!=hidden]:first').focus();
|
||||
});
|
||||
</script>
|
||||
% endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue