Commit 1aeee58cbbff1238053d0a106119a729be4f4353

Authored by Amrita Vishnoi
1 parent 8b10530d

this is manual mager of marge req Refreshissuewithlabex

400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
... ... @@ -407,13 +407,21 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic
407 407  
408 408 $rootScope.isVisibleLogin = false;
409 409 $rootScope.haveRoleAdmin = true;
410   -
  410 +
411 411 if ($rootScope.refreshcheck == null) {
412   -
413   - $location.path('/');
414   -
  412 +
  413 + if ($location.path() == "/lab-exercises-detail") {
  414 +
  415 + $location.url('/');
  416 + }
  417 + else {
  418 +
  419 + $location.path('/');
  420 + }
  421 +
415 422 }
416   - }
  423 +
  424 + }
417 425  
418 426 else
419 427 {
... ...