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