Commit d4432c87a688e9d0ac9385f9a87882b58aaba7a7

Authored by Amrita Vishnoi
1 parent 17b7d66f

defect fix on binding event Listeners for annotation tool bar .

400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
... ... @@ -6090,8 +6090,10 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
6090 6090  
6091 6091 $scope.clicked = true;
6092 6092 // OnPaintCanvasMouseDown(event);
6093   - canvas.addEventListener('mousedown', $scope.OnPaintCanvasMouseDown, false);
6094   - canvas.addEventListener('mouseup', $scope.OnPaintCanvasMouseUp, false);
  6093 +
  6094 + var annotationCanvas= document.getElementById('canvas');
  6095 + annotationCanvas.addEventListener('mousedown', $scope.OnPaintCanvasMouseDown, false);
  6096 + annotationCanvas.addEventListener('mouseup', $scope.OnPaintCanvasMouseUp, false);
6095 6097 // alert("doclick");
6096 6098 };
6097 6099  
... ...