diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js index a75ff44..3c479b4 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js @@ -6138,8 +6138,10 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo } $scope.enableNormalMode = function () { - // $("#btnTranparency").removeClass("disabled"); - $("#btnTranparency").removeAttr('disabled', 'disabled'); + $("#btnTranparency").removeClass("disabled"); + + // $("#btnTranparency").remove("disabled"); + $rootScope.isNormalMode = false; console.log('enableNormalMode is called'); @@ -6153,8 +6155,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo $rootScope.isHighlightBodyByBodySystem = false; - if ($rootScope.isNormalMode == true) { - + if ($rootScope.isNormalMode == true) { @@ -6266,9 +6267,9 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo $rootScope.isExtract = true; //disable transparency button + $("#btnTranparency").addClass("disabled"); - if ($rootScope.isNormalMode == true) { $rootScope.isHighLight = false; @@ -8526,6 +8527,9 @@ function onTboxClose() function OnEnableNormalMode() { console.log('OnEnableNormalMode is called outside '); + + $("#btnTranparency").removeClass("disabled"); + var scope = angular.element(document.getElementById("daView")).scope(); scope.$apply(function () { scope.enableNormalMode();