diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js index 29e8ab4..5fb07a8 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js @@ -4982,13 +4982,9 @@ 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); - } + $rootScope.AdminURL = function () { + var admin_url = window.location.href; + window.location.href = admin_url + "Admin-UI"; }; $rootScope.SendAdminAccessRequestMail = function (userInfo) { diff --git a/400-SOURCECODE/AIAHTML5.Web/app/widget/TopMenu.html b/400-SOURCECODE/AIAHTML5.Web/app/widget/TopMenu.html index a869b1b..4f390d8 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/widget/TopMenu.html +++ b/400-SOURCECODE/AIAHTML5.Web/app/widget/TopMenu.html @@ -49,7 +49,7 @@