From 13cf7c2e1caea71ecc6bd20636e77b5d8431daea Mon Sep 17 00:00:00 2001 From: Mukul Date: Thu, 25 Jan 2018 10:22:52 +0530 Subject: [PATCH] this is url update of admin --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js | 10 +++------- 400-SOURCECODE/AIAHTML5.Web/app/widget/TopMenu.html | 2 +- 400-SOURCECODE/AIAHTML5.Web/index.html | 51 +-------------------------------------------------- 3 files changed, 5 insertions(+), 58 deletions(-) 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 @@
  • About A.D.A.M.
  • -