Merge pull request #8451 from snipe/fixes/fix_ldap_js

No longer toggle the 'disabled' attribute for ldap_server based on is_ad
This commit is contained in:
snipe 2020-09-17 14:14:23 -07:00 committed by GitHub
commit 4bd140c324
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -355,7 +355,7 @@
if( $('#is_ad').prop('checked') === false) {
$('#ad_domain').prop('disabled', 'disabled');
} else {
$('#ldap_server').prop('disabled', 'disabled');
//$('#ldap_server').prop('disabled', 'disabled');
}
});
@ -364,7 +364,7 @@
*/
$('#is_ad').on('ifClicked', function(){
$('#ad_domain').toggleDisabled();
$('#ldap_server').toggleDisabled();
//$('#ldap_server').toggleDisabled();
});