Commit eece91e06ba4b9754b44f7d5b3a02c66b0b0b558

Authored by Nikita Kulshreshtha
1 parent 6eb119dc

removed commenetd code.

400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
... ... @@ -593,21 +593,14 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
593 593  
594 594 $("#layerChangeSlider").slider({
595 595 orientation: "vertical",
596   - range: "max", // <--- needed...
  596 + range: "max",
597 597 min: 0,
598   - // max: 100,
599 598 value: 0,
600 599 slide: function (event, ui) {
601   - // event.stopImmediatePropagation();
602   - // alert('slide')
603   - // $("#txtlayerNumber").val(100 - ui.value); // basic math operation..
604   -
605   - // $("#txtlayerNumber").val($("#layerChangeSlider").slider("value"));
606   - },
  600 + },
607 601  
608 602 stop: function (event, ui) {
609   - // alert('stop')
610   -
  603 +
611 604 var la;
612 605 var rootScope = angular.element(document.getElementById("bo")).scope();
613 606 rootScope.$apply(function () {
... ... @@ -619,7 +612,6 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
619 612 rootScope.isLoading = false;
620 613 }
621 614 la = parseInt(scope.totalLayers) //- parseInt(scope.layerNumber);
622   - // $('#layerChangeSlider').slider("option", "value", la - ui.value);
623 615 var slideVal = la - ui.value;
624 616 $("#txtlayerNumber").val(slideVal);
625 617 scope.layerNumber = slideVal;
... ...