Commit 53f673657aac0c9fe81a2e5cadba7ad16f4e4f08

Authored by Amrita Vishnoi
1 parent 9e2be78c

renamed function

400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
... ... @@ -728,7 +728,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
728 728 if ($("#canvasDiv").find("canvas[id='canvasPaint']").length == 0) {
729 729  
730 730 $("#canvasDiv").append('<canvas id="canvasPaint" width="2277" height="3248" class="canvas-annotationStyle1"></canvas><canvas id="canvas" width="2277" height="3248" class="canvas-annotationStyle"></canvas>');
731   - $scope.CanvasDrawingListner();
  731 + $scope.BindCanvasDrawingListners();
732 732 // $rootScope.FreeStylePaint();
733 733  
734 734 }
... ... @@ -6050,7 +6050,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
6050 6050 $("#canvas").css("display", "block");
6051 6051 $("#canvasPaint").css("display", "block");
6052 6052  
6053   - $scope.CanvasDrawingListner();
  6053 + $scope.BindCanvasDrawingListners();
6054 6054 $rootScope.FreeStylePaint();
6055 6055 });
6056 6056 $scope.mousePs;
... ... @@ -6066,7 +6066,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
6066 6066 $scope.offsetY1 = 0;
6067 6067 $scope.x = 0;
6068 6068 $scope.y = 0;
6069   - $scope.CanvasDrawingListner = function (event) {
  6069 + $scope.BindCanvasDrawingListners = function (event) {
6070 6070  
6071 6071 $scope.clicked = true;
6072 6072 // OnPaintCanvasMouseDown(event);
... ...
400-SOURCECODE/AIAHTML5.Web/app/views/da/da-view.html
... ... @@ -309,7 +309,7 @@
309 309 <div class="row">
310 310 <div id="canvasDiv" class="col-sm-12 img-thumbnail" align="center">
311 311 <canvas id="canvasPaint" ng-click="FreeStylePaint($event)" width="2277" height="3248" class="canvas-annotationStyle1"></canvas>
312   - <canvas id="canvas" ng-click="CanvasDrawingListner($event)" width="2277" height="3248" class="canvas-annotationStyle"></canvas>
  312 + <canvas id="canvas" ng-click="BindCanvasDrawingListners($event)" width="2277" height="3248" class="canvas-annotationStyle"></canvas>
313 313 </div>
314 314 <!--<div id="canvasDiv" style=" width: 95% !important;top:0px;overflow:scroll;background-color:white;">-->
315 315 <!--<div id="daLoaderLabel">Loading....</div>-->
... ...