From ead1b9f87c107201e7af520ceed18b7e4675c23a Mon Sep 17 00:00:00 2001 From: Utkarsh Singh Date: Mon, 10 Apr 2017 15:14:10 +0530 Subject: [PATCH] Committed code. Refs: #15352, 15361, 15368 --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) 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"; + }*/ + + } } -- libgit2 0.21.4