Commit dd6351cb3ebfdf8c8e49c595a576966ab8700c28
Merge branch 'Bug#13791' of http://52.6.196.163/ADAM/AIAHTML5 into Develop-IPAD-MAC
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 | 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'); | ... | ... |