Skip to content

Commit de81f68

Browse files
shyimlunny
authored andcommitted
Fixed form control is not focusable #687 (#837)
1 parent b6da658 commit de81f68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

public/js/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -989,7 +989,7 @@ function initAdmin() {
989989
switch (authType) {
990990
case '2': // LDAP
991991
$('.ldap').show();
992-
$('.ldap div.required input').attr('required', 'required');
992+
$('.ldap div.required:not(.dldap) input').attr('required', 'required');
993993
break;
994994
case '3': // SMTP
995995
$('.smtp').show();
@@ -1002,7 +1002,7 @@ function initAdmin() {
10021002
break;
10031003
case '5': // LDAP
10041004
$('.dldap').show();
1005-
$('.dldap div.required input').attr('required', 'required');
1005+
$('.dldap div.required:not(.ldap) input').attr('required', 'required');
10061006
break;
10071007
}
10081008

0 commit comments

Comments
 (0)