From c17e3000818bb13475613fe4b4b3e7ccb272ea79 Mon Sep 17 00:00:00 2001 From: amrita.vishnoi Date: Thu, 11 Aug 2016 12:37:19 +0530 Subject: [PATCH] removed unused code from settings --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js index 1e866ec..1ced574 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js @@ -207,8 +207,8 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo var userEthnicity = $rootScope.globalSetting.ethnicity; var userModestysettings = $rootScope.globalSetting.modesty; - var userSelectedSkintone = 'W'; - $scope.userModestySetting = 'Y' + //var userSelectedSkintone = 'W'; + //$scope.userModestySetting = 'Y' var thumbnailImage; if ((value._id == 1) || (value._id == 3) || (value._id == 5) || (value._id == 6) || (value._id == 7) || (value._id == 11)) thumbnailImage = ((value._thumbnailImage).replace('.jpg', '_' + userEthnicity + userModestysettings)) + '.jpg'; @@ -283,7 +283,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo $http({ method: 'GET', url: '~/../content/data/json/da/da_dat_contentlist.json' }).success(function (data) { $scope.BodyViewData = data; - //load default body view list for male + $scope.getDAViewList(); }) @@ -5114,6 +5114,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo //Reload DA controller event listener after setting change $scope.$on('reloadDAControllerEvent', function (event, data) { console.log('reloadDAControllerEvent'); + $scope.loadDissectibleAnatomyData(); }) -- libgit2 0.21.4