Commit f67efb5814095e079f9b95960f190531cfe08447

Authored by Amrita Vishnoi
2 parents dec5c774 015f67ff

Merge branch 'inputboxlayernumberissue' into QA

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) {
... ...