Commit dcfbaaf41ea8488e5cd0afefa1284308efefceb9

Authored by Nikita Kulshreshtha
1 parent 65d2f64f

case: change layer>selct term LM> now click ion normal button> the layer was go…

…ing to the previous layer which was before the LM selection. - fixed
400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
... ... @@ -1917,7 +1917,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
1917 1917  
1918 1918  
1919 1919 //terminate previous running workers to create space for new workers
1920   -
  1920 + $scope.layerNumber = $('#txtlayerNumber').val();
1921 1921 $scope.terminateCurrentlyRunningWPs();
1922 1922  
1923 1923 $timeout(function () {
... ... @@ -2090,6 +2090,9 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
2090 2090 // $rootScope.updatedGrayDataList = null;
2091 2091 // $rootScope.updatedGrayDataList = [];
2092 2092 //}
  2093 +
  2094 + $scope.layerNumber = $('#txtlayerNumber').val();
  2095 +
2093 2096 $rootScope.isLoading = true;
2094 2097 $('#spinner').css('visibility', 'visible');
2095 2098  
... ... @@ -5030,6 +5033,8 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
5030 5033 $rootScope.isListManagerSelected = false;
5031 5034  
5032 5035 //7.
  5036 +
  5037 + $scope.layerNumber = $('#txtlayerNumber').val();
5033 5038 $scope.CalculateImageCordinates($rootScope.viewOrientationId);
5034 5039 // alert($rootScope.viewOrientationId + "gadash")
5035 5040  
... ...