From 8ddc94e00ab2c7bf59cc1fcb0c7898d797d9f31c Mon Sep 17 00:00:00 2001 From: palak Date: Fri, 10 Nov 2017 13:16:16 +0530 Subject: [PATCH] update --- pages/registration.html | 9 ++++++--- script.js | 13 ++----------- 2 files changed, 8 insertions(+), 14 deletions(-) diff --git a/pages/registration.html b/pages/registration.html index df2e12b..71e232d 100644 --- a/pages/registration.html +++ b/pages/registration.html @@ -397,15 +397,17 @@ assignment_ind + -->
Error ! Please fill in all fields.
email
- + - +
@@ -897,4 +899,5 @@ - \ No newline at end of file + + \ No newline at end of file diff --git a/script.js b/script.js index 1e7a071..401ebf9 100644 --- a/script.js +++ b/script.js @@ -367,6 +367,7 @@ $scope.check = false; } else { $scope.check = true; + $scope.emailId = searchResult.data[0].id $('#alreadyExist').css('display', 'block'); } @@ -829,17 +830,7 @@ $('.icon-circle-d').css('background-color', 'rgb(102, 102, 102)'); } else { $('.icon-circle-d').css('background-color', 'rgb(66, 181, 73)'); - } -// $http({ -// method: 'GET', -// url: BASE_URL + '/applicants?filter={"where": {"email": '+email+'%25}}' -// // headers: {} -// }).then(function mySuccess(searchResult) { -// console.log("email===>", searchResult.id) -// $scope.getid = searchResult.id; -// abc?id -// }); - + } } $scope.textCheck = function(){ -- 2.0.0