From a260396767ab7e0e0adeddc465c5ceefbdbeee2b Mon Sep 17 00:00:00 2001 From: amrita.vishnoi Date: Tue, 4 Oct 2016 18:13:00 +0530 Subject: [PATCH] fixed scroll maintain issue --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js | 9 +++++++++ 1 file changed, 9 insertions(+), 0 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js index fd937a0..459721c 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js @@ -5160,6 +5160,15 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo } } + // #7972 Mozilla Firefox> Incorrect navigation + $("#canvasDiv").scroll(function (event) { + $rootScope.CanvasDivTopPosition = $("#canvasDiv").scrollTop(); + $rootScope.CanvasDivLeftPosition = $("#canvasDiv").scrollLeft(); + + }); + + + $scope.enableExtract = function (isCalledFromButton) { console.log('isCalledFromButton= ' + isCalledFromButton); -- libgit2 0.21.4