Commit a1e8967fd24a37eba0062d6b69d9374b1ffae5a5
Merge branch 'Develop' of http://52.6.196.163/ADAM/AIAHTML5 into AnnotationTextAreaCodeRefactor
Showing
1 changed file
with
16 additions
and
0 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
... | ... | @@ -1943,6 +1943,22 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo |
1943 | 1943 | $scope.HighlightBodyOnExtract = function () { |
1944 | 1944 | console.log(' insode HighlightBodyOnExtract. $rootScope.MaskCanvasData length= ' + $rootScope.MaskCanvasData.length + ', $rootScope.previousHighlightList.length= ' + $rootScope.previousHighlightList.length) |
1945 | 1945 | |
1946 | + | |
1947 | + $("#btnExtract").removeClass("btn-black"); | |
1948 | + $("#btnExtract").addClass("btn-primary"); | |
1949 | + | |
1950 | + | |
1951 | + if ($("#btnNormalMode").hasClass("btn-primary")) { | |
1952 | + $("#btnNormalMode").removeClass("btn-primary"); | |
1953 | + $("#btnNormalMode").addClass("btn-black"); | |
1954 | + } | |
1955 | + | |
1956 | + if ($("#btnHighLight").hasClass("btn-primary")) { | |
1957 | + $("#btnHighLight").removeClass("btn-primary"); | |
1958 | + $("#btnHighLight").addClass("btn-black"); | |
1959 | + } | |
1960 | + | |
1961 | + | |
1946 | 1962 | //terminate previous running workers to create space for new workers |
1947 | 1963 | $scope.layerNumber = $('#txtlayerNumber').val(); |
1948 | 1964 | $scope.terminateCurrentlyRunningWPs(); | ... | ... |