Commit a260396767ab7e0e0adeddc465c5ceefbdbeee2b

Authored by Amrita Vishnoi
1 parent a6aad71e

fixed scroll maintain issue

400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
@@ -5160,6 +5160,15 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo @@ -5160,6 +5160,15 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
5160 } 5160 }
5161 } 5161 }
5162 5162
  5163 + // #7972 Mozilla Firefox> Incorrect navigation
  5164 + $("#canvasDiv").scroll(function (event) {
  5165 + $rootScope.CanvasDivTopPosition = $("#canvasDiv").scrollTop();
  5166 + $rootScope.CanvasDivLeftPosition = $("#canvasDiv").scrollLeft();
  5167 +
  5168 + });
  5169 +
  5170 +
  5171 +
5163 $scope.enableExtract = function (isCalledFromButton) { 5172 $scope.enableExtract = function (isCalledFromButton) {
5164 5173
5165 console.log('isCalledFromButton= ' + isCalledFromButton); 5174 console.log('isCalledFromButton= ' + isCalledFromButton);