From 08947e16dafa16aef3289a2293a15beae30c330b Mon Sep 17 00:00:00 2001 From: nikita Date: Fri, 1 Sep 2017 18:15:47 +0530 Subject: [PATCH] need to test on server. --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js | 10 ++++++++++ 1 file changed, 10 insertions(+), 0 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js index f0b54de..af5970e 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js @@ -2805,6 +2805,9 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l $scope.HighlightBodyByTermListForBodySystem = function (TermList) { + //disable the background till the system gets highlighted. + document.getElementById("daView").style.pointerEvents="none"; + $("#btnTranparency").attr('disabled', 'disabled'); $scope.currentLayerNumber = $scope.layerNumber; @@ -2856,6 +2859,8 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l $scope.message = AIAConstants.NO_BODY_SYSTEM_AVAILABLE; $("#daMessageModal").modal('show'); + document.getElementById("daView").style.pointerEvents = "auto"; + } else { console.log('1. HighlightBodyByTermListForBodySystem is called'); @@ -3030,6 +3035,9 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l $('#spinner').css('visibility', 'hidden') $rootScope.isLoading = false; + + document.getElementById("daView").style.pointerEvents = "auto"; + prevBRID = TermExistInBodyRegionId; }) @@ -3039,6 +3047,8 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l else { $('#spinner').css('visibility', 'hidden') $rootScope.isLoading = false; + document.getElementById("daView").style.pointerEvents = "auto"; + } }) -- libgit2 0.21.4