From 55ce5bd2ad17ae21acdaab06d0d15cef2113199d Mon Sep 17 00:00:00 2001 From: amrita.vishnoi Date: Mon, 6 Feb 2017 16:48:13 +0530 Subject: [PATCH] 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 | 4 ++++ 1 file changed, 4 insertions(+), 0 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js index 5b77de5..3f2bc7d 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js @@ -1335,6 +1335,8 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo if (evt.ctrlKey) { $rootScope.multiAnnotationIsON = true; + + document.getElementById("btnZoom").setAttribute('disabled', 'disabled'); } else { 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 } $rootScope.multiAnnotationIsON = false; + + document.getElementById("btnZoom").disabled = false; } //get mouse coordinate of mirror image click -- libgit2 0.21.4