From 6ad25e0b6e16be3d41985a2154739b2adbd503d6 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 16 Apr 2018 12:05:50 +0530 Subject: [PATCH] Commit Changes --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js index 7bc3f9f..d878823 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js @@ -2041,6 +2041,9 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou console.log(pinDataForTerm[0]._PinId); $scope.clickedPins = []; $scope.clickedPins.push({ 'id': pinDataForTerm[0]._PinId }); + $scope.activePinArray = []; + var pinID = "PinArc_" + pinDataForTerm[0]._PinId; + $scope.activePinArray.push({ 'id': pinID }); $scope.showAnnotation(pinDataForTerm, false, false, true); // maintaing scroll position on selection of options in list manager. var annotationTopPos = $(".common-drag").css("top").split("p"); @@ -2088,7 +2091,7 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou } } $scope.activePinOnLayerChange = function () { - + for (var i = 0; i <= $scope.activePinArray.length - 1; i++) { var radialAfterClick = $('#aaDetailViewCanvas').createGradient({ x1: 50, y1: 50, @@ -2113,7 +2116,7 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou }); $scope.activePinOnSliderChange = function () { - + if ($scope.activePinArray.length == 1) { for (var i = 0; i <= $scope.allPinDataArray.length - 1; i++) { var activeArc = $scope.activePinArray[0].split("_"); -- libgit2 0.21.4