diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js index d287a84..d8c7d04 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js @@ -3712,18 +3712,18 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic $rootScope.OpenAdminForm = function (userInfo) { $('#adminModal').css({ top: '50px' }); if ($rootScope.userData) { - $('#adminfName').val($rootScope.userData.firstName); - $('#adminlName').val($rootScope.userData.lastName); - $('#adminEmailId').val($rootScope.userData.emailId); + $('#adminfName').val($rootScope.userData.FirstName); + $('#adminlName').val($rootScope.userData.LastName); + $('#adminEmailId').val($rootScope.userData.EmailId); } }; $rootScope.SendAdminAccessRequestMail = function (userInfo) { if ($rootScope.userData) { - userInfo.firstName = $rootScope.userData.firstName; - userInfo.lastName = $rootScope.userData.lastName; - userInfo.emailId = $rootScope.userData.emailId; + userInfo.firstName = $rootScope.userData.FirstName; + userInfo.lastName = $rootScope.userData.LastName; + userInfo.emailId = $rootScope.userData.EmailId; } AdminService.SendAdminAccessRequestMail(userInfo)