mirror of
https://github.com/kakwa/ldapcherry
synced 2024-11-24 18:24:31 +01:00
focus on first field for all forms
previously, only the add form had focus on first field. Now every form (add, modifify, selfmodify) have focus on first field.
This commit is contained in:
parent
b6fd601801
commit
abf3d5dea9
@ -123,9 +123,9 @@ if (fields['${attrid}'] != null) {
|
|||||||
};
|
};
|
||||||
% endfor
|
% endfor
|
||||||
</script>
|
</script>
|
||||||
|
% endif
|
||||||
<script>
|
<script>
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
$('form:eq(1) *:input[type!=hidden]:first').focus();
|
$('form:eq(1) *:input[type!=hidden]:first').focus();
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
% endif
|
|
||||||
|
Loading…
Reference in New Issue
Block a user