diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js index 9fcfaf5..7d56ac7 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js @@ -264,6 +264,7 @@ 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'); @@ -338,7 +339,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic // $("#canvas").css("display", "none"); $('.btnCursor').removeClass('activebtncolor'); $(".btn-annotation").removeClass("activebtncolor"); - $rootScope.isAnnotaionToolBarDrawingModeActive = true; + $rootScope.isAnnotaionToolBarDrawingModeActive = false; $rootScope.switchCanvas(); } $rootScope.CIAnotationIdentifyModeOff = false;