Commit f8ecfe8983cec0500ac6a5fdece15971fbbb5955

Authored by Nikita Kulshreshtha
1 parent 2fa7777a

disabled layer textbox

400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
... ... @@ -290,7 +290,9 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l
290 290 }
291 291 //to disbale layer change slider
292 292 $('.ui-slider').slider('disable');
293   - document.getElementById('txtlayerNumber').style.pointerEvents = "none";
  293 + // document.getElementById('txtlayerNumber').style.pointerEvents = "none";
  294 + $("#txtlayerNumber").prop('disabled', true);
  295 +
294 296  
295 297 $scope.isLoading = true;
296 298 $('#spinner').css('visibility', 'visible');
... ... @@ -305,8 +307,8 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l
305 307 }
306 308 //to enable layer change slider
307 309 $('.ui-slider').slider('enable');
308   - document.getElementById('txtlayerNumber').style.pointerEvents = "auto";
309   -
  310 + // document.getElementById('txtlayerNumber').style.pointerEvents = "auto";
  311 + $("#txtlayerNumber").prop('disabled', false);
310 312 $scope.isLoading = false;
311 313  
312 314 $('#spinner').css('visibility', 'hidden');
... ...