Commit 21959d74440be05436ab32397f28c8b678f1d59c
1 parent
aaf71d8d
Annotation Tool Bar Not Working In CI
Showing
1 changed file
with
3 additions
and
3 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/CIController.js
... | ... | @@ -574,7 +574,7 @@ function ($scope, $window, $rootScope, $compile, $http, log, $location, $timeout |
574 | 574 | theme: 'success', |
575 | 575 | currentController: 'CIController', |
576 | 576 | parentSlug: 'clinical-illustrations', |
577 | - content: '<div class="row" id="canvasDiv"><div style="align:left;width:100%;height:100%"><canvas id="canvas" ng-click="BindCanvasDrawingListners($event)" width="1369" height="325" class="canvas-annotationStyle" style="position: absolute; background-color: transparent;z-index:1 "></canvas></div> <canvas id="canvasPaint" ng-click="FreeStylePaint($event)" width="1369" height="325" class="canvas-annotationStyle1" style="position: absolute;z-index:0;"></canvas>' + | |
577 | + content: '<div class="row" id="canvasDiv"><div style="align:left;width:100%;height:100%"><canvas id="canvas" ng-click="onDrawingCanvasClick($event)" width="1369" height="325" class="canvas-annotationStyle" style="position: absolute; background-color: transparent;z-index:1 "></canvas></div> <canvas id="canvasPaint" ng-click="FreeStylePaint($event)" width="1369" height="325" class="canvas-annotationStyle1" style="position: absolute;z-index:0;"></canvas>' + | |
578 | 578 | '<div class="col-sm-12 img-thumbnail" align="center">' + |
579 | 579 | '<img src="' + $scope.clickedCIImage + '" alt="" title="" class="img-responsive "><div class="col-sm-12 well">' + |
580 | 580 | '<div align="left" id="sid"><p>' + $scope.clickedCISummary + '</p></div><button id="btnTxtOnOff" class="btn btn-primary pull-right">Text Off</button>' + |
... | ... | @@ -630,8 +630,8 @@ function ($scope, $window, $rootScope, $compile, $http, log, $location, $timeout |
630 | 630 | $("#canvas").css("display", "block"); |
631 | 631 | $("#canvasPaint").css("display", "block"); |
632 | 632 | |
633 | - $rootScope.BindCanvasDrawingListners(); | |
634 | - $rootScope.FreeStylePaint(); | |
633 | + $rootScope.onDrawingCanvasClick(); | |
634 | + $rootScope.FreeStylePaint(); | |
635 | 635 | }); |
636 | 636 | |
637 | 637 | $scope.ReloadListViewImageDiv = function (id) { | ... | ... |