Browse Source

Fixed form control is not focusable #687 (#837)

tags/v1.21.12.1
Shyim Lunny Xiao 8 years ago
parent
commit
de81f68d4d
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      public/js/index.js

+ 2
- 2
public/js/index.js View File

@@ -989,7 +989,7 @@ function initAdmin() {
switch (authType) { switch (authType) {
case '2': // LDAP case '2': // LDAP
$('.ldap').show(); $('.ldap').show();
$('.ldap div.required input').attr('required', 'required');
$('.ldap div.required:not(.dldap) input').attr('required', 'required');
break; break;
case '3': // SMTP case '3': // SMTP
$('.smtp').show(); $('.smtp').show();
@@ -1002,7 +1002,7 @@ function initAdmin() {
break; break;
case '5': // LDAP case '5': // LDAP
$('.dldap').show(); $('.dldap').show();
$('.dldap div.required input').attr('required', 'required');
$('.dldap div.required:not(.ldap) input').attr('required', 'required');
break; break;
} }




Loading…
Cancel
Save