From 193f62b8eeac579f62c34009e085c57d8917f679 Mon Sep 17 00:00:00 2001 From: Thai Tran Date: Wed, 8 Apr 2015 14:37:16 -0700 Subject: Removing scope digest from login directive Call to digest is not needed since $timeout service already does it. Change-Id: I3aca5283211f852b10d0aab86803c0db7b63a516 Closes-bug: #1441871 --- horizon/static/angular/login/login.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'horizon/static') diff --git a/horizon/static/angular/login/login.js b/horizon/static/angular/login/login.js index ae85fb257..33c5d9228 100644 --- a/horizon/static/angular/login/login.js +++ b/horizon/static/angular/login/login.js @@ -77,10 +77,9 @@ domainInput.hide(); regionInput.hide(); } - scope.$digest(); - }); // end of apply - } // end of function + }); // end of timeout + } // end of onChange // if authType field exists // then websso was enabled -- cgit v1.2.1