Commit 1883ddec6a48e2cf0d08c17d52be6f4a137ee41b
Merge branch 'AdminAccessMail' into Develop
Showing
1 changed file
with
6 additions
and
6 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
@@ -3817,18 +3817,18 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic | @@ -3817,18 +3817,18 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic | ||
3817 | $rootScope.OpenAdminForm = function (userInfo) { | 3817 | $rootScope.OpenAdminForm = function (userInfo) { |
3818 | $('#adminModal').css({ top: '50px' }); | 3818 | $('#adminModal').css({ top: '50px' }); |
3819 | if ($rootScope.userData) { | 3819 | if ($rootScope.userData) { |
3820 | - $('#adminfName').val($rootScope.userData.firstName); | ||
3821 | - $('#adminlName').val($rootScope.userData.lastName); | ||
3822 | - $('#adminEmailId').val($rootScope.userData.emailId); | 3820 | + $('#adminfName').val($rootScope.userData.FirstName); |
3821 | + $('#adminlName').val($rootScope.userData.LastName); | ||
3822 | + $('#adminEmailId').val($rootScope.userData.EmailId); | ||
3823 | } | 3823 | } |
3824 | }; | 3824 | }; |
3825 | 3825 | ||
3826 | $rootScope.SendAdminAccessRequestMail = function (userInfo) { | 3826 | $rootScope.SendAdminAccessRequestMail = function (userInfo) { |
3827 | 3827 | ||
3828 | if ($rootScope.userData) { | 3828 | if ($rootScope.userData) { |
3829 | - userInfo.firstName = $rootScope.userData.firstName; | ||
3830 | - userInfo.lastName = $rootScope.userData.lastName; | ||
3831 | - userInfo.emailId = $rootScope.userData.emailId; | 3829 | + userInfo.firstName = $rootScope.userData.FirstName; |
3830 | + userInfo.lastName = $rootScope.userData.LastName; | ||
3831 | + userInfo.emailId = $rootScope.userData.EmailId; | ||
3832 | } | 3832 | } |
3833 | 3833 | ||
3834 | AdminService.SendAdminAccessRequestMail(userInfo) | 3834 | AdminService.SendAdminAccessRequestMail(userInfo) |