From 484bd874c05b73ef4226bd418be98db3a11b8179 Mon Sep 17 00:00:00 2001 From: Mukul Date: Tue, 20 Jun 2017 12:09:58 +0530 Subject: [PATCH] this is for the bug 13194 --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js index c20b37b..a51e7da 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js @@ -1466,7 +1466,8 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo FlipedImgCanvas.addEventListener('click', function (evt) { - + var canvasDiv = document.getElementById('canvasDiv'); + $scope.imageVerticalScrollPosition = canvasDiv.scrollTop; //to get correct data on multihighlight highlight if ($scope.isLayerChange == true) { $scope.isLayerChange = false; @@ -1867,8 +1868,8 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo } imgCanvas.addEventListener('click', function (evt) { - - + var canvasDiv = document.getElementById('canvasDiv'); + $scope.imageVerticalScrollPosition = canvasDiv.scrollTop; if ($scope.isLayerChange == true) { $scope.isLayerChange = false; } -- libgit2 0.21.4