Commit 484bd874c05b73ef4226bd418be98db3a11b8179

Authored by Mukul Rajput
1 parent acff4858

this is for the bug 13194

400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
... ... @@ -1466,7 +1466,8 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
1466 1466  
1467 1467 FlipedImgCanvas.addEventListener('click', function (evt) {
1468 1468  
1469   -
  1469 + var canvasDiv = document.getElementById('canvasDiv');
  1470 + $scope.imageVerticalScrollPosition = canvasDiv.scrollTop;
1470 1471 //to get correct data on multihighlight highlight
1471 1472 if ($scope.isLayerChange == true) {
1472 1473 $scope.isLayerChange = false;
... ... @@ -1867,8 +1868,8 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
1867 1868 }
1868 1869  
1869 1870 imgCanvas.addEventListener('click', function (evt) {
1870   -
1871   -
  1871 + var canvasDiv = document.getElementById('canvasDiv');
  1872 + $scope.imageVerticalScrollPosition = canvasDiv.scrollTop;
1872 1873 if ($scope.isLayerChange == true) {
1873 1874 $scope.isLayerChange = false;
1874 1875 }
... ...