Commit 175b711b613109f671f2669c9ac719483c4be5da

Authored by Shashi Bhushan Kumar
1 parent 9c31c6db

For Bug 26464

400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
... ... @@ -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 + //#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 + //#Bug 26464
  4627 + $timeout(function () {
  4628 + angular.element(document.activeElement).blur();
  4629 + });
  4630 +
4621 4631 }
4622 4632 else {
4623 4633  
... ...