Commit 8a1d0196 authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review

Merge "Bug 1853189: Allow SAML to also show all the correct fields"

parents 97271f39 be8b8c14
......@@ -403,12 +403,14 @@
function updateSsoOptions() {
var current = $('#auth_config_ssodirection').val();
for (var opt in ssoAllOptions) {
if (ssoAllOptions[opt] == current) {
jQuery('#auth_config_' + opt + '_container').removeClass('hidden');
}
else {
jQuery('#auth_config_' + opt + '_container').addClass('hidden');
if (typeof current !== 'undefined') {
for (var opt in ssoAllOptions) {
if (ssoAllOptions[opt] == current) {
jQuery('#auth_config_' + opt + '_container').removeClass('hidden');
}
else {
jQuery('#auth_config_' + opt + '_container').addClass('hidden');
}
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment