Commit b6dec0d1cd1df811be6b11821627e5d872a48ab8
Merge branch 'Bug26043' into Develop-IPAD-MAC
Showing
1 changed file
with
4 additions
and
1 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
@@ -4519,7 +4519,7 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l | @@ -4519,7 +4519,7 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l | ||
4519 | 4519 | ||
4520 | function mouseUpListener(e) { | 4520 | function mouseUpListener(e) { |
4521 | e.preventDefault(); | 4521 | e.preventDefault(); |
4522 | - $scope.DisableUI(); | 4522 | + |
4523 | 4523 | ||
4524 | //to prevent screen scroll on ipad while drawing TB | 4524 | //to prevent screen scroll on ipad while drawing TB |
4525 | e.preventDefault(); | 4525 | e.preventDefault(); |
@@ -4561,6 +4561,9 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l | @@ -4561,6 +4561,9 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l | ||
4561 | 4561 | ||
4562 | } | 4562 | } |
4563 | else { | 4563 | else { |
4564 | + | ||
4565 | + $scope.DisableUI(); | ||
4566 | + | ||
4564 | $scope.layerNumberBeforeTBDraw = parseInt($('#txtlayerNumber').val()); | 4567 | $scope.layerNumberBeforeTBDraw = parseInt($('#txtlayerNumber').val()); |
4565 | 4568 | ||
4566 | //draw temp box to store the canvas data with original transparecy | 4569 | //draw temp box to store the canvas data with original transparecy |