From 6bc0da41e982577d87e177d147cc448875f11083 Mon Sep 17 00:00:00 2001 From: amrita.vishnoi Date: Wed, 7 Sep 2016 14:46:23 +0530 Subject: [PATCH] Refs: #7226 Highlight Options > Highlight goes away if we change layers --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js index 1b9877c..54ef3cc 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js @@ -2439,7 +2439,13 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo $('#canvasDiv').scrollLeft($scope.imageHorizontlScrollPosition) $('#canvasDiv').scrollTop($scope.imageVerticalScrollPosition) - $timeout(function () { $scope.DisableProgressBar() }, 1000); + if ($scope.isHighlightBodyByBodySystem) { + $timeout(function () { $scope.DisableProgressBar() }, 20000); + } + else + { + $timeout(function () { $scope.DisableProgressBar() }, 2000); + } } $('#layerChangeSlider').slider("option", "value", parseInt($scope.totalLayers) - parseInt($scope.layerNumber)); -- libgit2 0.21.4