Commit d931513ac541f111fea9e040a67d383759ef1dad

Authored by unknown
1 parent e8cdc99b

DA > Annotation Toolbar > Body annotation is display on draw mode if user releas…

…e the erase button on the body.
400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
@@ -566,11 +566,11 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic @@ -566,11 +566,11 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic
566 $('#canvas').css("z-index", y); 566 $('#canvas').css("z-index", y);
567 } 567 }
568 $rootScope.EraseDrawing = function () { 568 $rootScope.EraseDrawing = function () {
569 - $rootScope.isAnnotaionToolBarDrawingModeActive = false; 569 + $rootScope.isAnnotaionToolBarDrawingModeActive = true;
570 $rootScope.switchCanvas(); 570 $rootScope.switchCanvas();
571 $rootScope.isEraseToolSelected = true; 571 $rootScope.isEraseToolSelected = true;
572 //$rootScope.switchCanvasToPaintCanvas(); 572 //$rootScope.switchCanvasToPaintCanvas();
573 - $('.btnCursor').removeClass('activebtncolor'); 573 + $('.btnCursor').removeClass('activebtncolor');
574 $(".btn-annotation").removeClass("activebtncolor"); 574 $(".btn-annotation").removeClass("activebtncolor");
575 $(".btn-annotation-erase").addClass("activebtncolor"); 575 $(".btn-annotation-erase").addClass("activebtncolor");
576 } 576 }