Commit b32246859747bfdbbd67fbbb5fdeaa46477617d4

Authored by Shashi Bhushan Kumar
1 parent 0585407e

fixed bug 26464

400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
... ... @@ -1067,7 +1067,7 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$filter","$
1067 1067 else if ($rootScope.voId == 12) {
1068 1068 $rootScope.viewOrientationId = 6;
1069 1069 }
1070   -
  1070 +
1071 1071 $scope.CalculateImageCordinates($rootScope.viewOrientationId);
1072 1072  
1073 1073  
... ... @@ -4613,11 +4613,21 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$filter","$
4613 4613 $scope.TransparencyBoxEndY = TransparencyBoxEndY;
4614 4614  
4615 4615 if ($scope.TransparencyBoxStartX == $scope.TransparencyEndX && $scope.TransparencyBoxStartY == $scope.TransparencyBoxEndY) {
4616   - // $('#transparencyScale').css('visibility', 'hidden');
  4616 +
  4617 + //TFS#Bug 26464
  4618 + $timeout(function () {
  4619 + angular.element(document.activeElement).blur();
  4620 + });
  4621 +
4617 4622 } else {
4618 4623  
4619 4624 if (previewRectangleWidth == 0 && previewRectangleHeight == 0) {
4620 4625  
  4626 + //TFS#Bug 26464
  4627 + $timeout(function () {
  4628 + angular.element(document.activeElement).blur();
  4629 + });
  4630 +
4621 4631 }
4622 4632 else {
4623 4633  
... ...