Commit 09af50f04335e5fed0b2256c357727f12efabbd2
Merge branch 'Bug#8991' into Develop
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,6 +1943,22 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo | ||
1943 | $scope.HighlightBodyOnExtract = function () { | 1943 | $scope.HighlightBodyOnExtract = function () { |
1944 | console.log(' insode HighlightBodyOnExtract. $rootScope.MaskCanvasData length= ' + $rootScope.MaskCanvasData.length + ', $rootScope.previousHighlightList.length= ' + $rootScope.previousHighlightList.length) | 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 | //terminate previous running workers to create space for new workers | 1962 | //terminate previous running workers to create space for new workers |
1947 | $scope.layerNumber = $('#txtlayerNumber').val(); | 1963 | $scope.layerNumber = $('#txtlayerNumber').val(); |
1948 | $scope.terminateCurrentlyRunningWPs(); | 1964 | $scope.terminateCurrentlyRunningWPs(); |