Commit c17e3000818bb13475613fe4b4b3e7ccb272ea79
1 parent
aa087298
removed unused code from settings
Showing
1 changed file
with
4 additions
and
3 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
... | ... | @@ -207,8 +207,8 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo |
207 | 207 | |
208 | 208 | var userEthnicity = $rootScope.globalSetting.ethnicity; |
209 | 209 | var userModestysettings = $rootScope.globalSetting.modesty; |
210 | - var userSelectedSkintone = 'W'; | |
211 | - $scope.userModestySetting = 'Y' | |
210 | + //var userSelectedSkintone = 'W'; | |
211 | + //$scope.userModestySetting = 'Y' | |
212 | 212 | var thumbnailImage; |
213 | 213 | if ((value._id == 1) || (value._id == 3) || (value._id == 5) || (value._id == 6) || (value._id == 7) || (value._id == 11)) |
214 | 214 | thumbnailImage = ((value._thumbnailImage).replace('.jpg', '_' + userEthnicity + userModestysettings)) + '.jpg'; |
... | ... | @@ -283,7 +283,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo |
283 | 283 | $http({ method: 'GET', url: '~/../content/data/json/da/da_dat_contentlist.json' }).success(function (data) { |
284 | 284 | |
285 | 285 | $scope.BodyViewData = data; |
286 | - //load default body view list for male | |
286 | + | |
287 | 287 | $scope.getDAViewList(); |
288 | 288 | |
289 | 289 | }) |
... | ... | @@ -5114,6 +5114,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo |
5114 | 5114 | //Reload DA controller event listener after setting change |
5115 | 5115 | $scope.$on('reloadDAControllerEvent', function (event, data) { |
5116 | 5116 | console.log('reloadDAControllerEvent'); |
5117 | + | |
5117 | 5118 | $scope.loadDissectibleAnatomyData(); |
5118 | 5119 | |
5119 | 5120 | }) | ... | ... |