allow empty user-dn and password

help tooltip shows completely right: leave both blank for anonyous access. But if you leave it blank js doesn't allow you to edit any other settings...
This commit is contained in:
miicha 2013-11-05 01:24:20 +01:00
parent b767bbcdda
commit 5b9bdaadaa

View file

@ -172,7 +172,7 @@ var LdapWizard = {
pwd = $('#ldap_agent_password').val();
base = $('#ldap_base').val();
if(host && port && agent && pwd && base) {
if(host && port && base) {
$('.ldap_action_continue').removeAttr('disabled');
$('#ldapSettings').tabs('option', 'disabled', []);
} else {