diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
index 3fdea7b..9fcfaf5 100644
--- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
+++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
@@ -264,7 +264,6 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic
//annotation tool custom events
$rootScope.ShowAnnotationWindow = function () {
//7904
- $rootScope.isAnnotaionToolBarDrawingModeActive = false;
if ($rootScope.MenuModuleName == "DA" || $rootScope.MenuModuleName == "CI") {
if ($rootScope.disableAnnotationtoolOnListManager == true) {
$('#AnnotaionPopupDiv').find('a,input, textarea, button, select,img,div').attr('disabled', 'disabled');
@@ -339,7 +338,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic
// $("#canvas").css("display", "none");
$('.btnCursor').removeClass('activebtncolor');
$(".btn-annotation").removeClass("activebtncolor");
- $rootScope.isAnnotaionToolBarDrawingModeActive = false;
+ $rootScope.isAnnotaionToolBarDrawingModeActive = true;
$rootScope.switchCanvas();
}
$rootScope.CIAnotationIdentifyModeOff = false;
@@ -571,7 +570,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic
$rootScope.switchCanvas();
$rootScope.isEraseToolSelected = true;
//$rootScope.switchCanvasToPaintCanvas();
- $('.btnCursor').removeClass('activebtncolor');
+ $('.btnCursor').removeClass('activebtncolor');
$(".btn-annotation").removeClass("activebtncolor");
$(".btn-annotation-erase").addClass("activebtncolor");
}