Commit f8ecfe8983cec0500ac6a5fdece15971fbbb5955
1 parent
2fa7777a
disabled layer textbox
Showing
1 changed file
with
5 additions
and
3 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
@@ -290,7 +290,9 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l | @@ -290,7 +290,9 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l | ||
290 | } | 290 | } |
291 | //to disbale layer change slider | 291 | //to disbale layer change slider |
292 | $('.ui-slider').slider('disable'); | 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 | $scope.isLoading = true; | 297 | $scope.isLoading = true; |
296 | $('#spinner').css('visibility', 'visible'); | 298 | $('#spinner').css('visibility', 'visible'); |
@@ -305,8 +307,8 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l | @@ -305,8 +307,8 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l | ||
305 | } | 307 | } |
306 | //to enable layer change slider | 308 | //to enable layer change slider |
307 | $('.ui-slider').slider('enable'); | 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 | $scope.isLoading = false; | 312 | $scope.isLoading = false; |
311 | 313 | ||
312 | $('#spinner').css('visibility', 'hidden'); | 314 | $('#spinner').css('visibility', 'hidden'); |