diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
index 46df765..1c63dba 100644
--- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
+++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
@@ -4533,7 +4533,7 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l
function mouseUpListener(e) {
e.preventDefault();
- $scope.DisableUI();
+
//to prevent screen scroll on ipad while drawing TB
e.preventDefault();
@@ -4575,6 +4575,9 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l
}
else {
+
+ $scope.DisableUI();
+
$scope.layerNumberBeforeTBDraw = parseInt($('#txtlayerNumber').val());
//draw temp box to store the canvas data with original transparecy