Commit be8b8c14 authored by Robert Lyon's avatar Robert Lyon

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

Change-Id: I64d52ba926f26df91ea32c1638e14e9d364546e4
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent 6ebe876c
......@@ -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