Commit 151da4fe507de8584b353a5898a61a3f58f393e2
1 parent
7d277807
Committing updated code
Showing
1 changed file
with
6 additions
and
6 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
... | ... | @@ -3712,18 +3712,18 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic |
3712 | 3712 | $rootScope.OpenAdminForm = function (userInfo) { |
3713 | 3713 | $('#adminModal').css({ top: '50px' }); |
3714 | 3714 | if ($rootScope.userData) { |
3715 | - $('#adminfName').val($rootScope.userData.firstName); | |
3716 | - $('#adminlName').val($rootScope.userData.lastName); | |
3717 | - $('#adminEmailId').val($rootScope.userData.emailId); | |
3715 | + $('#adminfName').val($rootScope.userData.FirstName); | |
3716 | + $('#adminlName').val($rootScope.userData.LastName); | |
3717 | + $('#adminEmailId').val($rootScope.userData.EmailId); | |
3718 | 3718 | } |
3719 | 3719 | }; |
3720 | 3720 | |
3721 | 3721 | $rootScope.SendAdminAccessRequestMail = function (userInfo) { |
3722 | 3722 | |
3723 | 3723 | if ($rootScope.userData) { |
3724 | - userInfo.firstName = $rootScope.userData.firstName; | |
3725 | - userInfo.lastName = $rootScope.userData.lastName; | |
3726 | - userInfo.emailId = $rootScope.userData.emailId; | |
3724 | + userInfo.firstName = $rootScope.userData.FirstName; | |
3725 | + userInfo.lastName = $rootScope.userData.LastName; | |
3726 | + userInfo.emailId = $rootScope.userData.EmailId; | |
3727 | 3727 | } |
3728 | 3728 | |
3729 | 3729 | AdminService.SendAdminAccessRequestMail(userInfo) | ... | ... |