1
0
mirror of https://github.com/kakwa/ldapcherry synced 2024-06-16 15:49:53 +02:00

force focus on the first input of forms

This commit is contained in:
kakwa 2016-07-06 21:22:48 +02:00
parent ce09b60158
commit 655ccabd79

View File

@ -121,4 +121,9 @@ if (fields['${attrid}'] != null) {
}; };
% endfor % endfor
</script> </script>
<script>
$(document).ready(function() {
$('form:eq(1) *:input[type!=hidden]:first').focus();
});
</script>
% endif % endif