Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/user_saml.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2017-09-18 12:15:14 +0300
committerLukas Reschke <lukas@statuscode.ch>2017-09-18 12:15:14 +0300
commit00c87f4f8159e26336761f36f503a74277cf7e0f (patch)
treef2af15b17ca19a8b2a8ed5679625dfd4adc4c061 /js/admin.js
parent9e88bef6d370c74e7bf06bd1a37276a4f8fc929e (diff)
Hide attribute mapping until a type is selected
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'js/admin.js')
-rw-r--r--js/admin.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/admin.js b/js/admin.js
index 6867a257..e0d7f6d6 100644
--- a/js/admin.js
+++ b/js/admin.js
@@ -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');
}