Commit 08947e16dafa16aef3289a2293a15beae30c330b

Authored by Nikita Kulshreshtha
1 parent dd5b204f

need to test on server.

400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
... ... @@ -2805,6 +2805,9 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l
2805 2805  
2806 2806 $scope.HighlightBodyByTermListForBodySystem = function (TermList) {
2807 2807  
  2808 + //disable the background till the system gets highlighted.
  2809 + document.getElementById("daView").style.pointerEvents="none";
  2810 +
2808 2811 $("#btnTranparency").attr('disabled', 'disabled');
2809 2812 $scope.currentLayerNumber = $scope.layerNumber;
2810 2813  
... ... @@ -2856,6 +2859,8 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l
2856 2859  
2857 2860 $scope.message = AIAConstants.NO_BODY_SYSTEM_AVAILABLE;
2858 2861 $("#daMessageModal").modal('show');
  2862 + document.getElementById("daView").style.pointerEvents = "auto";
  2863 +
2859 2864 }
2860 2865 else {
2861 2866 console.log('1. HighlightBodyByTermListForBodySystem is called');
... ... @@ -3030,6 +3035,9 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l
3030 3035  
3031 3036 $('#spinner').css('visibility', 'hidden')
3032 3037 $rootScope.isLoading = false;
  3038 +
  3039 + document.getElementById("daView").style.pointerEvents = "auto";
  3040 +
3033 3041  
3034 3042 prevBRID = TermExistInBodyRegionId;
3035 3043 })
... ... @@ -3039,6 +3047,8 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l
3039 3047 else {
3040 3048 $('#spinner').css('visibility', 'hidden')
3041 3049 $rootScope.isLoading = false;
  3050 + document.getElementById("daView").style.pointerEvents = "auto";
  3051 +
3042 3052 }
3043 3053  
3044 3054 })
... ...