From 1aeee58cbbff1238053d0a106119a729be4f4353 Mon Sep 17 00:00:00 2001 From: amrita.vishnoi Date: Thu, 8 Mar 2018 18:24:57 +0530 Subject: [PATCH] this is manual mager of marge req Refreshissuewithlabex --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js index d108113..ece0bd0 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js @@ -407,13 +407,21 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic $rootScope.isVisibleLogin = false; $rootScope.haveRoleAdmin = true; - + if ($rootScope.refreshcheck == null) { - - $location.path('/'); - + + if ($location.path() == "/lab-exercises-detail") { + + $location.url('/'); + } + else { + + $location.path('/'); + } + } - } + + } else { -- libgit2 0.21.4