mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 07:34:06 -08:00
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:
commit
4bd140c324
|
@ -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();
|
||||
});
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue