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

remotes/origin/stable6
Arthur Schiwon 12 years ago
parent 6b160d8507
commit 0b90cc0b4b
  1. 2
      apps/user_ldap/js/settings.js

@ -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…
Cancel
Save