From 169fb08051dff0d4c1ded55747b1fb037cdce176 Mon Sep 17 00:00:00 2001 From: daniel-a-nguyen Date: Mon, 1 Feb 2016 20:29:42 -0800 Subject: [PATCH] Fixes reference to css for domain and region Horizon fails to hide the domain and region fields when WebSSO is enabled. All fields should be hidden when the auth_type is not 'Keystone Credentials'. Change-Id: I782dd3094a34c95127781f4040124a897bb46b1a Closes-Bug: #1540728 --- horizon/static/auth/login/login-finder.directive.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/horizon/static/auth/login/login-finder.directive.js b/horizon/static/auth/login/login-finder.directive.js index b93cdf6fd..16e58fc5a 100644 --- a/horizon/static/auth/login/login-finder.directive.js +++ b/horizon/static/auth/login/login-finder.directive.js @@ -44,8 +44,8 @@ var authType = element.find('#id_auth_type'); var userInput = element.find("#id_username").parents('.form-group'); var passwordInput = element.find("#id_password").parents('.form-group'); - var domainInput = element.find('#id_domain').parents('form-group'); - var regionInput = element.find('#id_region').parents('form-group'); + var domainInput = element.find('#id_domain').parents('.form-group'); + var regionInput = element.find('#id_region').parents('.form-group'); /** * `helpText` exists outside of element,