From ed3ab63236cb4c44046960ff8a6e720e12d99717 Mon Sep 17 00:00:00 2001 From: Mukul Date: Tue, 21 Nov 2017 11:21:18 +0530 Subject: [PATCH] this is solution for the bug 24987 --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js | 8 +++++++- 400-SOURCECODE/AIAHTML5.Web/themes/default/css/bootstrap/3.3.6/main.css | 9 ++++++++- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js index 2f533c3..0c02152 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js @@ -1360,7 +1360,7 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou } $rootScope.hidePins = function () { - + $("#dropdownMenu221").addClass("aaSystemDisable"); $rootScope.isLoading = true; $('#spinner').css('visibility', 'visible'); $scope.hideSpeechBubble(); @@ -1389,6 +1389,9 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou } $scope.showAllPinsAfterHide = function (event) { + if ($("#dropdownMenu221").hasClass("aaSystemDisable")) { + $("#dropdownMenu221").removeClass("aaSystemDisable"); + } $rootScope.isLoading = true; $('#spinner').css('visibility', 'visible'); $scope.isHidePinBtnClicked = false; @@ -1415,6 +1418,9 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou $scope.showSelectedPins = function () { + if ($("#dropdownMenu221").hasClass("aaSystemDisable")) { + $("#dropdownMenu221").removeClass("aaSystemDisable"); + } $rootScope.isLoading = true; $('#spinner').css('visibility', 'visible'); diff --git a/400-SOURCECODE/AIAHTML5.Web/themes/default/css/bootstrap/3.3.6/main.css b/400-SOURCECODE/AIAHTML5.Web/themes/default/css/bootstrap/3.3.6/main.css index 5d2248b..a701059 100644 --- a/400-SOURCECODE/AIAHTML5.Web/themes/default/css/bootstrap/3.3.6/main.css +++ b/400-SOURCECODE/AIAHTML5.Web/themes/default/css/bootstrap/3.3.6/main.css @@ -1100,4 +1100,11 @@ li[disabled], a[disabled] { } a[disabled] { color: #aaa !important; -} \ No newline at end of file +} + + +.aaSystemDisable + { + pointer-events : none; + opacity : 0.5; +} -- libgit2 0.21.4