From 8c8189c14961a2fb16b1b3c10abc75d29b8a4c6f Mon Sep 17 00:00:00 2001 From: nikita Date: Tue, 28 Nov 2017 15:01:58 +0530 Subject: [PATCH] old code was there to disable UI --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js index fcdcc0c..8595e90 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js @@ -2872,8 +2872,9 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l $scope.isScrolledToHighlightedBR = false; //disable the background till the system gets highlighted. - document.getElementById("daView").style.pointerEvents="none"; + $scope.DisableUI(); $('.ui-slider').slider('disable'); + $("#btnTranparency").attr('disabled', 'disabled'); $rootScope.currentLayerNumber = $scope.layerNumber; @@ -2928,7 +2929,9 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l $scope.message = AIAConstants.NO_BODY_SYSTEM_AVAILABLE; $("#daMessageModal").modal('show'); - document.getElementById("daView").style.pointerEvents = "auto"; + + $scope.EnableUI(); + $('.ui-slider').slider('enable'); } else { @@ -3136,7 +3139,8 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l else { $('#spinner').css('visibility', 'hidden') $rootScope.isLoading = false; - document.getElementById("daView").style.pointerEvents = "auto"; + + $scope.EnableUI(); $('.ui-slider').slider('enable'); } -- libgit2 0.21.4