Hide attribute mapping until a type is selected

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
Lukas Reschke 2017-09-18 11:15:14 +02:00
parent 9e88bef6d3
commit 00c87f4f81
No known key found for this signature in database
GPG key ID: B9F6980CF6E759B1

View file

@ -53,7 +53,7 @@ $(function() {
$('#user-saml-settings .button').addClass('hidden');
}
if($('#user-saml-general-require_provisioned_account').val() === '0') {
if($('#user-saml-general-require_provisioned_account').val() === '0' && type !== '') {
$('#user-saml-attribute-mapping').toggleClass('hidden');
}