Commit d63c91c31bae9c45d22535254b2f183233c24900

Authored by Birendra
1 parent 6f91ee2b

Fix issue of slider

400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js
... ... @@ -728,9 +728,10 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou
728 728 $scope.stopIntervalAA();
729 729 $scope.Setslider(windowviewid);
730 730 //7. Highlight all system body list in left side
731   - $scope.highlightBodySystemList(windowviewid);
732   -
733   - $scope.loadbtnNavigator(windowviewid);
  731 + $timeout(function () {
  732 + $scope.highlightBodySystemList(windowviewid);
  733 + $scope.loadbtnNavigator(windowviewid);
  734 + },2000);
734 735 $scope.JsPanelclick(windowviewid);
735 736  
736 737 if ($rootScope.isCallFromOtherModule) {
... ... @@ -821,24 +822,31 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou
821 822 value: zoomLevel,
822 823 range: "min",
823 824 orientation: "vertical",
824   - slide: function (event, ui) {
825   - if (ui.value == 25 || ui.value == 40 || ui.value == 55 || ui.value == 70 || ui.value == 85 || ui.value == 100) {
826   - var targetid = event.target.id;
827   - var len= (targetid).split("_").length;
828   - var windviewid = (targetid).split("_")[len-1];
829   - changeThumbnailSize(event, ui.value, windviewid);
830   - }
831   - } ,
832   - stop: function (event, ui) {
833   - //work on click when slide no is not in below case
834   - if (ui.value != 25 || ui.value != 40 || ui.value != 55 || ui.value != 70 || ui.value != 85 || ui.value != 100) {
835   - var targetid = event.target.id;
836   - var len= (targetid).split("_").length;
837   - var windviewid = (targetid).split("_")[len-1];
838   - changeThumbnailSize(event, ui.value, windviewid);
839   - }
840   -
841   - }
  825 + // slide: function (event, ui) {
  826 + // if (ui.value == 25 || ui.value == 40 || ui.value == 55 || ui.value == 70 || ui.value == 85 || ui.value == 100) {
  827 + // var targetid = event.target.id;
  828 + // var len= (targetid).split("_").length;
  829 + // var windviewid = (targetid).split("_")[len-1];
  830 + // changeThumbnailSize(event, ui.value, windviewid);
  831 + // }
  832 + // } ,
  833 + change: function (event, ui) {
  834 + var targetid = event.target.id;
  835 + var len= (targetid).split("_").length;
  836 + var windviewid = (targetid).split("_")[len-1];
  837 + changeThumbnailSize(event, ui.value, windviewid);
  838 + }
  839 + // ,
  840 + // stop: function (event, ui) {
  841 + // //work on click when slide no is not in below case
  842 + // if (ui.value != 25 || ui.value != 40 || ui.value != 55 || ui.value != 70 || ui.value != 85 || ui.value != 100) {
  843 + // var targetid = event.target.id;
  844 + // var len= (targetid).split("_").length;
  845 + // var windviewid = (targetid).split("_")[len-1];
  846 + // changeThumbnailSize(event, ui.value, windviewid);
  847 + // }
  848 +
  849 + // }
842 850 })
843 851 .slider("pips", {
844 852 rest: "label",
... ...
400-SOURCECODE/AIAHTML5.Web/app/views/da/da-view.html
... ... @@ -226,7 +226,7 @@
226 226  
227 227 </div>
228 228  
229   - <div id="layerChangeSlider" style="height:140px;" class="vert_slider "></div>
  229 + <div class="slider" id="layerChangeSlider" style="margin: 15px auto 10px;height: 180px;clear: both;width: 1rem;"></div>
230 230 </div>
231 231 </div>
232 232  
... ...