Commit c87688d928618329e0b49c349267699e64f59a02

Authored by unknown
2 parents d990442c f67efb58

Merge branch 'QA' of http://52.6.196.163/ADAM/AIAHTML5 into searchAnnotationIssue

400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
... ... @@ -603,7 +603,13 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l
603 603 range: "max",
604 604 min: 0,
605 605 value: 0,
606   - slide: function (event, ui) {
  606 + slide: function (event, ui)
  607 + {
  608 + var layerNum;
  609 + var daViewScope = angular.element(document.getElementById("daView")).scope();
  610 + layerNum = parseInt(daViewScope.totalLayers) //- parseInt(scope.layerNumber);
  611 + var sliderVal = layerNum - ui.value;
  612 + $("#txtlayerNumber").val(sliderVal);
607 613 },
608 614  
609 615 stop: function (event, ui) {
... ...