Commit 55ce5bd2ad17ae21acdaab06d0d15cef2113199d

Authored by Amrita Vishnoi
1 parent 44cef165

Also handled for mirror image.-

We have switched off zoom button for now if user will choose multi annotation then he will be unable to click on zoom button but when will leave the CTRL key , will get back the zoom button enabled. This is a fix for disorder body view.
400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
@@ -1335,6 +1335,8 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo @@ -1335,6 +1335,8 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
1335 1335
1336 if (evt.ctrlKey) { 1336 if (evt.ctrlKey) {
1337 $rootScope.multiAnnotationIsON = true; 1337 $rootScope.multiAnnotationIsON = true;
  1338 +
  1339 + document.getElementById("btnZoom").setAttribute('disabled', 'disabled');
1338 } 1340 }
1339 else { 1341 else {
1340 if (($rootScope.previousHighlightList != null || $rootScope.previousHighlightList != undefined) && ($rootScope.previousHighlightList.length > 0)) { 1342 if (($rootScope.previousHighlightList != null || $rootScope.previousHighlightList != undefined) && ($rootScope.previousHighlightList.length > 0)) {
@@ -1342,6 +1344,8 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo @@ -1342,6 +1344,8 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
1342 } 1344 }
1343 1345
1344 $rootScope.multiAnnotationIsON = false; 1346 $rootScope.multiAnnotationIsON = false;
  1347 +
  1348 + document.getElementById("btnZoom").disabled = false;
1345 } 1349 }
1346 1350
1347 //get mouse coordinate of mirror image click 1351 //get mouse coordinate of mirror image click