diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
index 20b5bf5..a18b271 100644
--- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
+++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
@@ -1917,7 +1917,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
//terminate previous running workers to create space for new workers
-
+ $scope.layerNumber = $('#txtlayerNumber').val();
$scope.terminateCurrentlyRunningWPs();
$timeout(function () {
@@ -2090,6 +2090,9 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
// $rootScope.updatedGrayDataList = null;
// $rootScope.updatedGrayDataList = [];
//}
+
+ $scope.layerNumber = $('#txtlayerNumber').val();
+
$rootScope.isLoading = true;
$('#spinner').css('visibility', 'visible');
@@ -5030,6 +5033,8 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
$rootScope.isListManagerSelected = false;
//7.
+
+ $scope.layerNumber = $('#txtlayerNumber').val();
$scope.CalculateImageCordinates($rootScope.viewOrientationId);
// alert($rootScope.viewOrientationId + "gadash")