diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
index 43c0bda..b900a6c 100644
--- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
+++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
@@ -2107,7 +2107,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
//layer change function
$scope.LayerChange = function () {
-
+ //1.
$scope.terminateCurrentlyRunningWPs();
var canvasDiv = document.getElementById('canvasDiv');
@@ -4782,11 +4782,11 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
if ($rootScope.isExtract == true) {
if ($rootScope.previousHighlightList != null || $rootScope.previousHighlightList != undefined || $rootScope.previousHighlightList.length > 0) {
- angular.forEach($rootScope.previousHighlightList, function (value, key) {
- $timeout(function () { $scope.HighlightBodyOnExtract(value) }, 50);
+
+ $timeout(function () { $scope.HighlightBodyOnExtract() }, 50);
// to do
- });
+
}
}
diff --git a/400-SOURCECODE/AIAHTML5.Web/extract-wp.js b/400-SOURCECODE/AIAHTML5.Web/extract-wp.js
index 7d4b16e..528b0fd 100644
--- a/400-SOURCECODE/AIAHTML5.Web/extract-wp.js
+++ b/400-SOURCECODE/AIAHTML5.Web/extract-wp.js
@@ -90,20 +90,16 @@ getLocationForMatchedTermsInWholeBody = function (termList, maskCanvasData, colo
}
// debugger;
previousGrayImageDataList[parseInt(bodyRegionId - 1)] = grayImageData;
-
- // if (matched == true) {
-
- // }
-
-
- self.postMessage({
- 'bodyRegionId': bodyRegionId,
- 'value': grayImageData,
- 'canvasId': canvasId
-
- });
+
}
}
+
+ self.postMessage({
+ 'bodyRegionId': bodyRegionId,
+ 'value': grayImageData,
+ 'canvasId': canvasId
+
+ });
}
self.onmessage = function (e) {