From d63c91c31bae9c45d22535254b2f183233c24900 Mon Sep 17 00:00:00 2001 From: Birendra Date: Fri, 19 Jun 2020 15:32:55 +0530 Subject: [PATCH] Fix issue of slider --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js | 50 +++++++++++++++++++++++++++++--------------------- 400-SOURCECODE/AIAHTML5.Web/app/views/da/da-view.html | 2 +- 2 files changed, 30 insertions(+), 22 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js index 7e7ee6d..7b84512 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js @@ -728,9 +728,10 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou $scope.stopIntervalAA(); $scope.Setslider(windowviewid); //7. Highlight all system body list in left side - $scope.highlightBodySystemList(windowviewid); - - $scope.loadbtnNavigator(windowviewid); + $timeout(function () { + $scope.highlightBodySystemList(windowviewid); + $scope.loadbtnNavigator(windowviewid); + },2000); $scope.JsPanelclick(windowviewid); if ($rootScope.isCallFromOtherModule) { @@ -821,24 +822,31 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou value: zoomLevel, range: "min", orientation: "vertical", - slide: function (event, ui) { - if (ui.value == 25 || ui.value == 40 || ui.value == 55 || ui.value == 70 || ui.value == 85 || ui.value == 100) { - var targetid = event.target.id; - var len= (targetid).split("_").length; - var windviewid = (targetid).split("_")[len-1]; - changeThumbnailSize(event, ui.value, windviewid); - } - } , - stop: function (event, ui) { - //work on click when slide no is not in below case - if (ui.value != 25 || ui.value != 40 || ui.value != 55 || ui.value != 70 || ui.value != 85 || ui.value != 100) { - var targetid = event.target.id; - var len= (targetid).split("_").length; - var windviewid = (targetid).split("_")[len-1]; - changeThumbnailSize(event, ui.value, windviewid); - } - - } + // slide: function (event, ui) { + // if (ui.value == 25 || ui.value == 40 || ui.value == 55 || ui.value == 70 || ui.value == 85 || ui.value == 100) { + // var targetid = event.target.id; + // var len= (targetid).split("_").length; + // var windviewid = (targetid).split("_")[len-1]; + // changeThumbnailSize(event, ui.value, windviewid); + // } + // } , + change: function (event, ui) { + var targetid = event.target.id; + var len= (targetid).split("_").length; + var windviewid = (targetid).split("_")[len-1]; + changeThumbnailSize(event, ui.value, windviewid); + } + // , + // stop: function (event, ui) { + // //work on click when slide no is not in below case + // if (ui.value != 25 || ui.value != 40 || ui.value != 55 || ui.value != 70 || ui.value != 85 || ui.value != 100) { + // var targetid = event.target.id; + // var len= (targetid).split("_").length; + // var windviewid = (targetid).split("_")[len-1]; + // changeThumbnailSize(event, ui.value, windviewid); + // } + + // } }) .slider("pips", { rest: "label", diff --git a/400-SOURCECODE/AIAHTML5.Web/app/views/da/da-view.html b/400-SOURCECODE/AIAHTML5.Web/app/views/da/da-view.html index 50518d8..fe3a43e 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/views/da/da-view.html +++ b/400-SOURCECODE/AIAHTML5.Web/app/views/da/da-view.html @@ -226,7 +226,7 @@ -
+
-- libgit2 0.21.4