From e7cd3044eae9950d8c303f68df6b237e098c1c4e Mon Sep 17 00:00:00 2001 From: Mukul Date: Wed, 7 Feb 2018 11:12:39 +0530 Subject: [PATCH] this is solution of bug 25066 --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js index 83913fe..7e170cc 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js @@ -37,7 +37,7 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou $scope.activePinArray = []; $scope.showTabButton = true; $scope.isListViewDataLoaded = true; - + $rootScope.isSliderSlide = false; $scope.setActiveTab = function (tabToSet) { $scope.activeTab = tabToSet; @@ -272,6 +272,7 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou range: "min", orientation: "vertical", slide: function (event, ui) { + $rootScope.isSliderSlide = true; var scope = angular.element(document.getElementById("aaDetailPageDiv")).scope(); scope.$apply(function () { scope.sliderVal = ui.value; @@ -463,9 +464,17 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou }) - + //load search/vocab data - $rootScope.loadSearchData(); + if ($rootScope.isSliderSlide == true) { + + $rootScope.isSliderSlide = false; + + } + else { + $rootScope.loadSearchData(); + + } } }, function (error) { -- libgit2 0.21.4