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:
authorJulius Härtl <jus@bitgrid.net>2018-07-10 16:13:08 +0300
committerBjoern Schiessle <bjoern@schiessle.org>2018-08-03 13:42:09 +0300
commitba2e04f7b814937c9b20b28ddad268bc0fd233e3 (patch)
tree88c971e45c2ad2c425a4f4c45b2e68689c110d1a /js/admin.js
parent174234a14e3082042d85dc03755c4a48747fe490 (diff)
Fix emtpy ui on new instances
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'js/admin.js')
-rw-r--r--js/admin.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/admin.js b/js/admin.js
index 9a8d24ec..74e2d068 100644
--- a/js/admin.js
+++ b/js/admin.js
@@ -19,8 +19,8 @@
if (data.ocs.data.data !== '') {
OCA.User_SAML.Admin.providerIds = data.ocs.data.data;
OCA.User_SAML.Admin.currentConfig = OCA.User_SAML.Admin.providerIds.split(',').sort()[0];
- callback();
}
+ callback();
});
},
chooseEnv: function() {
@@ -117,7 +117,7 @@ $(function() {
$('[data-js="remove-idp"]').addClass('hidden');
}
// Hide depending on the setup state
- if(type === '') {
+ if(type !== 'environment-variable' && type !== 'saml') {
$('#user-saml-choose-type').removeClass('hidden');
} else {
$('#user-saml-global').removeClass('hidden');