Commit 2da8c53a90e375087905a3f96efc2bdcce5fd6cd
1 parent
d931513a
DA > Annotation Toolbar > Identify mode is not working even if mode is highlighted.
Showing
1 changed file
with
2 additions
and
1 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
@@ -264,6 +264,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic | @@ -264,6 +264,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic | ||
264 | //annotation tool custom events | 264 | //annotation tool custom events |
265 | $rootScope.ShowAnnotationWindow = function () { | 265 | $rootScope.ShowAnnotationWindow = function () { |
266 | //7904 | 266 | //7904 |
267 | + $rootScope.isAnnotaionToolBarDrawingModeActive = false; | ||
267 | if ($rootScope.MenuModuleName == "DA" || $rootScope.MenuModuleName == "CI") { | 268 | if ($rootScope.MenuModuleName == "DA" || $rootScope.MenuModuleName == "CI") { |
268 | if ($rootScope.disableAnnotationtoolOnListManager == true) { | 269 | if ($rootScope.disableAnnotationtoolOnListManager == true) { |
269 | $('#AnnotaionPopupDiv').find('a,input, textarea, button, select,img,div').attr('disabled', 'disabled'); | 270 | $('#AnnotaionPopupDiv').find('a,input, textarea, button, select,img,div').attr('disabled', 'disabled'); |
@@ -338,7 +339,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic | @@ -338,7 +339,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic | ||
338 | // $("#canvas").css("display", "none"); | 339 | // $("#canvas").css("display", "none"); |
339 | $('.btnCursor').removeClass('activebtncolor'); | 340 | $('.btnCursor').removeClass('activebtncolor'); |
340 | $(".btn-annotation").removeClass("activebtncolor"); | 341 | $(".btn-annotation").removeClass("activebtncolor"); |
341 | - $rootScope.isAnnotaionToolBarDrawingModeActive = true; | 342 | + $rootScope.isAnnotaionToolBarDrawingModeActive = false; |
342 | $rootScope.switchCanvas(); | 343 | $rootScope.switchCanvas(); |
343 | } | 344 | } |
344 | $rootScope.CIAnotationIdentifyModeOff = false; | 345 | $rootScope.CIAnotationIdentifyModeOff = false; |