diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
index d7e0fb5..536d206 100644
--- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
+++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
@@ -4519,7 +4519,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();
@@ -4561,6 +4561,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