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