Ldap Wizard: also disable tabs, if the first step is not complete

This commit is contained in:
Arthur Schiwon 2013-10-17 18:55:02 +02:00
parent 6b160d8507
commit 0b90cc0b4b
1 changed files with 2 additions and 0 deletions

View File

@ -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]);
}
},