Commit 638c685fd67785d526fc38e569cecb8899cbbd21

Authored by Nikita Kulshreshtha
1 parent 8a03c74a

disable/enable layer change slider.

removed tbox disabked on LM selection as the whole view is disbaled till the oroces is done
400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
... ... @@ -278,9 +278,10 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l
278 278 for (var i = 0; i < daImagePanelConetent.length; i++) {
279 279 daImagePanelConetent[i].style.pointerEvents = "none";
280 280 daImagePanelConetent[i].style.opacity = "0.5";
281   - // daImagePanelConetent[i].disabledUI
  281 +
282 282 }
283   -
  283 + //to disbale layer change slider
  284 + $('.ui-slider').slider('disable');
284 285 }
285 286  
286 287 $scope.EnableUI = function () {
... ... @@ -290,7 +291,8 @@ AIA.controller(&quot;DAController&quot;, [&quot;$scope&quot;, &quot;$rootScope&quot;, &quot;$compile&quot;, &quot;$http&quot;, &quot;$l
290 291 daImagePanelConetent[i].style.pointerEvents = "auto";
291 292 daImagePanelConetent[i].style.opacity = "1";
292 293 }
293   -
  294 + //to enable layer change slider
  295 + $('.ui-slider').slider('enable');
294 296  
295 297 }
296 298  
... ... @@ -2578,7 +2580,7 @@ AIA.controller(&quot;DAController&quot;, [&quot;$scope&quot;, &quot;$rootScope&quot;, &quot;$compile&quot;, &quot;$http&quot;, &quot;$l
2578 2580  
2579 2581 $scope.HighlightBodyByTermList = function (TermList) {
2580 2582  
2581   - $("#btnTranparency").attr('disabled', 'disabled');
  2583 + // $("#btnTranparency").attr('disabled', 'disabled');
2582 2584 $rootScope.currentLayerNumber = $scope.layerNumber;
2583 2585  
2584 2586 $scope.layerNumber = $('#txtlayerNumber').val();
... ... @@ -7297,7 +7299,7 @@ AIA.controller(&quot;DAController&quot;, [&quot;$scope&quot;, &quot;$rootScope&quot;, &quot;$compile&quot;, &quot;$http&quot;, &quot;$l
7297 7299 else {
7298 7300 $scope.isLoading = false;
7299 7301 $('#spinner').css('visibility', 'hidden');
7300   -
  7302 + $scope.EnableUI();
7301 7303 }
7302 7304 }
7303 7305 }
... ... @@ -7436,6 +7438,7 @@ AIA.controller(&quot;DAController&quot;, [&quot;$scope&quot;, &quot;$rootScope&quot;, &quot;$compile&quot;, &quot;$http&quot;, &quot;$l
7436 7438 else {
7437 7439 $scope.isLoading = false;
7438 7440 $('#spinner').css('visibility', 'hidden');
  7441 + $scope.EnableUI();
7439 7442  
7440 7443 }
7441 7444 }
... ...