Commit ead1b9f87c107201e7af520ceed18b7e4675c23a

Authored by Utkarsh Singh
1 parent 4f1a2778

Committed code. Refs: #15352, 15361, 15368

400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
@@ -456,17 +456,6 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo @@ -456,17 +456,6 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
456 $rootScope.isVisibleLogin = false; 456 $rootScope.isVisibleLogin = false;
457 $scope.loadSearchDataForBodyView(); 457 $scope.loadSearchDataForBodyView();
458 458
459 - /*Code commented due to unavailability of modules list on 'da-view-list' view*/  
460 - /*if (typeof($rootScope.CommonData)=="undefined" || $rootScope.CommonData == null) {  
461 - console.log('Reloading json data for body view => BROWSER REFRESH ISSUE...');  
462 - $scope.loadDissectibleAnatomyData();  
463 -  
464 - if ((typeof($rootScope.MenuModuleName) == "undefined") || $rootScope.MenuModuleName == null) {  
465 - $rootScope.MenuModuleName = "DA";  
466 - }  
467 - }*/  
468 -  
469 -  
470 console.log('currentBodyViewId pickjed from localStorage: ' + currentBodyViewId); 459 console.log('currentBodyViewId pickjed from localStorage: ' + currentBodyViewId);
471 460
472 var openViews; 461 var openViews;
@@ -583,7 +572,16 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo @@ -583,7 +572,16 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
583 } 572 }
584 else 573 else
585 {console.log('Reload occured, Redirecting to landing page.') 574 {console.log('Reload occured, Redirecting to landing page.')
586 - $location.path('/'); 575 + $location.path('/');
  576 + /*Code commented due to unavailability of modules list on 'da-view-list' view*/
  577 + /* console.log('Reloading json data for body view => BROWSER REFRESH ISSUE...');
  578 + $scope.loadDissectibleAnatomyData();
  579 +
  580 + if ((typeof($rootScope.MenuModuleName) == "undefined") || $rootScope.MenuModuleName == null) {
  581 + $rootScope.MenuModuleName = "DA";
  582 + }*/
  583 +
  584 +
587 } 585 }
588 } 586 }
589 587