Commit 35ee74632beb0ed8e73c3f1d27eeb4ef2491583b

Authored by Nikita Kulshreshtha
2 parents e50bf730 b1add735

merged #13666

400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
@@ -3179,7 +3179,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo @@ -3179,7 +3179,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
3179 3179
3180 3180
3181 //history maintained issue 3181 //history maintained issue
3182 - if ($rootScope.isAnnotaionToolBarDrawingModeActive == false) { document.getElementById('sppeachBubble').style.zIndex = "60000"; } 3182 + if ($rootScope.isAnnotaionToolBarDrawingModeActive == false) { document.getElementById('sppeachBubble').style.zIndex = "60000"; }
3183 3183
3184 3184
3185 3185
@@ -7008,6 +7008,9 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo @@ -7008,6 +7008,9 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
7008 $scope.LateralArmView = ""; 7008 $scope.LateralArmView = "";
7009 $scope.MedialArmView = "active"; 7009 $scope.MedialArmView = "active";
7010 } 7010 }
  7011 + //13573 : DA > Annotations should not be display if we change the body view.
  7012 + $rootScope.CloseAnnotationTool();
  7013 +
7011 } 7014 }
7012 7015
7013 //Reload DA controller event listener after setting change 7016 //Reload DA controller event listener after setting change
@@ -7551,27 +7554,31 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo @@ -7551,27 +7554,31 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
7551 // $('#slider-range-min-2').slider('disable'); 7554 // $('#slider-range-min-2').slider('disable');
7552 // } 7555 // }
7553 //} 7556 //}
7554 - if ($rootScope.setListManagerZindex == true)  
7555 - {  
7556 - var canvasPaintZindex = $('#canvasPaint').css("z-index"); //x  
7557 -  
7558 - var canvasZindex = $('#canvas').css("z-index"); //y  
7559 - var listManagerZindex = $('#listManager').css("z-index"); //z  
7560 - if (canvasPaintZindex > canvasZindex) {  
7561 - //y = parseInt(canvasPaintZindex) + 1;  
7562 - //if (listManagerZindex <= canvasPaintZindex) {  
7563 - // listManagerZindex = parseInt(canvasPaintZindex) + 1;  
7564 - // $('#listManager').css("z-index", z);  
7565 - //}  
7566 - //else {  
7567 - $('#listManager').css("z-index", canvasPaintZindex);  
7568 - // }  
7569 - } else {  
7570 - //y = parseInt(y) + 1;  
7571 - $('#listManager').css("z-index", canvasZindex);  
7572 - } 7557 +
  7558 +
  7559 + // 13666: DA > Search List > List Manager hang in the below mention case.
  7560 +
  7561 + //if ($rootScope.setListManagerZindex == true)
  7562 + //{
  7563 + // var canvasPaintZindex = $('#canvasPaint').css("z-index"); //x
  7564 +
  7565 + // var canvasZindex = $('#canvas').css("z-index"); //y
  7566 + // var listManagerZindex = $('#listManager').css("z-index"); //z
  7567 + // if (canvasPaintZindex > canvasZindex) {
  7568 + // //y = parseInt(canvasPaintZindex) + 1;
  7569 + // //if (listManagerZindex <= canvasPaintZindex) {
  7570 + // // listManagerZindex = parseInt(canvasPaintZindex) + 1;
  7571 + // // $('#listManager').css("z-index", z);
  7572 + // //}
  7573 + // //else {
  7574 + // $('#listManager').css("z-index", (canvasPaintZindex + 2));
  7575 + // // }
  7576 + // } else {
  7577 + // //y = parseInt(y) + 1;
  7578 + // $('#listManager').css("z-index", canvasZindex);
  7579 + // }
7573 7580
7574 - } 7581 + //}
7575 7582
7576 7583
7577 7584
400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
@@ -418,6 +418,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic @@ -418,6 +418,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic
418 $rootScope.isAnnotaionToolBarDrawingModeActive = false; 418 $rootScope.isAnnotaionToolBarDrawingModeActive = false;
419 419
420 $rootScope.switchCanvas(); 420 $rootScope.switchCanvas();
  421 + $rootScope.shapeType = '';
421 } 422 }
422 $rootScope.CIAnotationIdentifyModeOff = false; 423 $rootScope.CIAnotationIdentifyModeOff = false;
423 $rootScope.OnIdentifyClick = function () { 424 $rootScope.OnIdentifyClick = function () {
@@ -1470,6 +1471,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic @@ -1470,6 +1471,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic
1470 $rootScope.lastX; $rootScope.lastY; 1471 $rootScope.lastX; $rootScope.lastY;
1471 var ctx; 1472 var ctx;
1472 $rootScope.OnPaintCanvasMouseDown = function (event) { 1473 $rootScope.OnPaintCanvasMouseDown = function (event) {
  1474 +
1473 if ($rootScope.isAnnotatiomToolBarPopupClosed == false) { 1475 if ($rootScope.isAnnotatiomToolBarPopupClosed == false) {
1474 var canvasElement = document.getElementById("canvas"); 1476 var canvasElement = document.getElementById("canvas");
1475 var ctx = canvasElement.getContext("2d"); 1477 var ctx = canvasElement.getContext("2d");
400-SOURCECODE/AIAHTML5.Web/index.html
@@ -741,7 +741,7 @@ @@ -741,7 +741,7 @@
741 top: 170px; 741 top: 170px;
742 left: 140px; 742 left: 140px;
743 display: none; 743 display: none;
744 - z-index: 110000; 744 + z-index: 780000;
745 } 745 }
746 746
747 #listManager .annotation-modal-header { 747 #listManager .annotation-modal-header {