diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js index d878823..482ae84 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js @@ -516,6 +516,7 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou $rootScope.aaPinDataArray = []; $rootScope.isShowSelectedSystemPinsClicked = false; $scope.showAllPins = function () { + $scope.allPinDataArray = []; var promise = ModuleService.getPinDataForImage($rootScope.imageName) .then( @@ -530,7 +531,10 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou document.getElementById('navigatorDiv').style.visibility = 'hidden'; } + //draw pins + + $scope.aaPinData = result.data.Root.Item; if ($scope.aaPinData != null && $scope.aaPinData.length > 0) { $rootScope.aaPinDataArray = $scope.aaPinData @@ -771,7 +775,7 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou $scope.isBodySystemSelected = false; $scope.SelectedSystemTitle = "Current Structure"; $scope.showSelectedSystemPins = function (event) { - + if (typeof event == "object") { if (event.currentTarget.title == $("#bodySystemList li.activeAASystemSelect a").attr("title")) { @@ -809,6 +813,8 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou $scope.showAllPinsAfterHide(); } else { + //#30499 : Atlas Anatomy > All Pins are not appeared on the body system even after selecting the Body System: All + $('#aaDetailViewCanvas').removeLayers(); $scope.showAllPins(); } } @@ -839,7 +845,7 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou if ($scope.selectedSystemPinData != null && $scope.selectedSystemPinData.length > 0) { angular.forEach($scope.aaPinData, function (aaPinDataValue, aaPinDataKey) { - + if (aaPinDataValue._BodySystemName != $scope.selectedSystemName) { $scope.removePin('aaDetailViewCanvas', aaPinDataValue._PinId); @@ -1384,7 +1390,7 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou $scope.drawStaticPinsOnImage = function (canvasId, PinId, offsetX1, offsetY1, x, y) { - + //if ($scope.isSearchOptionClicked == true) { // $scope.clickedPins = []; // $scope.isSearchOptionClicked = false;