Commit bd7f082d authored by Robert Lyon's avatar Robert Lyon

Bug 1853189: Issue with xml-rpc auth modal hiding/showing some fields

behatnotneeded

Change-Id: Ib25d993cb3a37ebcb81b793ea032b3a4636a5e0a
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent 260b9431
......@@ -384,7 +384,7 @@
*/
function authloginmsgVisibility() {
// If Parent authority is 'None'
if ($('#auth_config_parent').length && $('#auth_config_parent').value != 0) {
if ($('#auth_config_parent').length && $('#auth_config_parent').val() != 0) {
jQuery('#auth_config_authloginmsg_container').addClass('hidden');
}
else {
......@@ -402,7 +402,7 @@
};
function updateSsoOptions() {
var current = $('#auth_config_ssodirection').value;
var current = $('#auth_config_ssodirection').val();
for (var opt in ssoAllOptions) {
if (ssoAllOptions[opt] == current) {
jQuery('#auth_config_' + opt + '_container').removeClass('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