Commit ac63845af8edf2d19aed0056a8015b302ea62acc
1 parent
a7c54707
this is solution for 23038 DA > Input Layer box should not allow special characters
Showing
1 changed file
with
3 additions
and
2 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
@@ -9056,8 +9056,9 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l | @@ -9056,8 +9056,9 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l | ||
9056 | 9056 | ||
9057 | var keyUplayerNumber = parseInt($("#txtlayerNumber").val()); | 9057 | var keyUplayerNumber = parseInt($("#txtlayerNumber").val()); |
9058 | 9058 | ||
9059 | - if (isNaN(keyUplayerNumber)) { | ||
9060 | - | 9059 | + if (isNaN(keyUplayerNumber)) |
9060 | + { | ||
9061 | + document.getElementById("txtlayerNumber").value = ""; | ||
9061 | } | 9062 | } |
9062 | else { | 9063 | else { |
9063 | 9064 |