diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js index c422774..dd9e921 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js @@ -456,17 +456,6 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo $rootScope.isVisibleLogin = false; $scope.loadSearchDataForBodyView(); - /*Code commented due to unavailability of modules list on 'da-view-list' view*/ - /*if (typeof($rootScope.CommonData)=="undefined" || $rootScope.CommonData == null) { - console.log('Reloading json data for body view => BROWSER REFRESH ISSUE...'); - $scope.loadDissectibleAnatomyData(); - - if ((typeof($rootScope.MenuModuleName) == "undefined") || $rootScope.MenuModuleName == null) { - $rootScope.MenuModuleName = "DA"; - } - }*/ - - console.log('currentBodyViewId pickjed from localStorage: ' + currentBodyViewId); var openViews; @@ -583,7 +572,16 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo } else {console.log('Reload occured, Redirecting to landing page.') - $location.path('/'); + $location.path('/'); + /*Code commented due to unavailability of modules list on 'da-view-list' view*/ + /* console.log('Reloading json data for body view => BROWSER REFRESH ISSUE...'); + $scope.loadDissectibleAnatomyData(); + + if ((typeof($rootScope.MenuModuleName) == "undefined") || $rootScope.MenuModuleName == null) { + $rootScope.MenuModuleName = "DA"; + }*/ + + } }