From 4893f494f091142099a49ce375c2ff4d5b1dd7ad Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 3 Apr 2018 12:38:08 +0530 Subject: [PATCH] Commit Changes --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js index c6900cf..0c2d051 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js @@ -360,6 +360,7 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou c1: 'rgba(100, 50, 0,0)', c2: 'rgb(126, 187, 83)' }); + console.log(scope.listMangerID); for (var i = 0; i <= scope.listMangerID.length - 1; i++) { $('#aaDetailViewCanvas').setLayer(scope.listMangerID[i], { fillStyle: radialAfterClick, @@ -866,18 +867,12 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou .where("_TermId == " + pinTermNumber) .select(); - $scope.listMangerID = []; - $scope.activePinArray = []; + // $scope.listMangerID = []; + $scope.activePinArray = []; for (var i = 0; i <= pinDataWithFirstTermNumber.length - 1; i++) { $scope.listMangerID.push('PinArc_' + pinDataWithFirstTermNumber[i]._PinId); $scope.activePinArray.push('PinArc_' + pinDataWithFirstTermNumber[i]._PinId); } - - - - - - console.log($scope.listMangerID); $scope.MultiLanguageAnnationArray = []; @@ -1304,8 +1299,9 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou click: function (clickedPin) { - if (clickedPin.event.ctrlKey == false) { + if (clickedPin.event.ctrlKey == false) { $scope.clickedPins = []; + $scope.listMangerID = []; } var pinID = (clickedPin.name).substring(7, (clickedPin.name).length); var pinData = new jinqJs() @@ -1705,7 +1701,7 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou $("#dropdownMenu221").addClass("aaSystemDisable"); $rootScope.isLoading = true; $('#spinner').css('visibility', 'visible'); - + $scope.isHidePinBtnClicked = false; if ($scope.selectedSystemName != null && $scope.selectedSystemName != undefined) { @@ -1752,7 +1748,8 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou .from(seletedSystemPinData) .where('_PinId != ' + value.id) .select(); - }) + }); + console.log($scope.clickedPins); angular.forEach($scope.clickedPins, function (value1, key1) { // if (aaPinDataValue._PinId != value.id) { -- libgit2 0.21.4