Commit 09af50f04335e5fed0b2256c357727f12efabbd2

Authored by Amrita Vishnoi
2 parents 8e1bb7e7 43138ab1

Merge branch 'Bug#8991' into Develop

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();
... ...