Ldap Wizard: also disable tabs, if the first step is not complete
This commit is contained in:
parent
6b160d8507
commit
0b90cc0b4b
1 changed files with 2 additions and 0 deletions
|
@ -170,8 +170,10 @@ var LdapWizard = {
|
|||
|
||||
if(host && port && agent && pwd && base) {
|
||||
$('.ldap_action_continue').removeAttr('disabled');
|
||||
$('#ldapSettings').tabs('option', 'disabled', []);
|
||||
} else {
|
||||
$('.ldap_action_continue').attr('disabled', 'disabled');
|
||||
$('#ldapSettings').tabs('option', 'disabled', [1, 2, 3, 4, 5]);
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue