Commit b334d6e9ac490fa72ea9e9affc4dbddaf5f16b7a

Authored by Mukul Rajput
1 parent 3a31bb7b

this is for bug 20261 Atlas Anatomy : Annotation Toolbar gets disbale

400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
@@ -3206,7 +3206,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic @@ -3206,7 +3206,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic
3206 $("#optionsListManagerTab").removeClass("active"); 3206 $("#optionsListManagerTab").removeClass("active");
3207 console.log('close'); 3207 console.log('close');
3208 $rootScope.disableAnnotationtoolOnListManager = false; 3208 $rootScope.disableAnnotationtoolOnListManager = false;
3209 - if ($rootScope.MenuModuleName == "DA") { 3209 + if ($rootScope.MenuModuleName == "DA" || $rootScope.MenuModuleName == "AA") {
3210 $("#annotationpaintbrushsize").attr("href", "#canvasPaint"); 3210 $("#annotationpaintbrushsize").attr("href", "#canvasPaint");
3211 $("#annotationpainteraser").attr("href", "#canvasPaint"); 3211 $("#annotationpainteraser").attr("href", "#canvasPaint");
3212 if ($rootScope.disableAnnotationtoolOnListManager == false) { 3212 if ($rootScope.disableAnnotationtoolOnListManager == false) {
400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js
@@ -127,7 +127,7 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou @@ -127,7 +127,7 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou
127 //}); 127 //});
128 $scope.isOpenBtnClicked = false; 128 $scope.isOpenBtnClicked = false;
129 $scope.openModuleItemView = function (event) { 129 $scope.openModuleItemView = function (event) {
130 - 130 + $rootScope.MenuModuleName = "AA";
131 localStorage.setItem("activeTab", $scope.activeTab); 131 localStorage.setItem("activeTab", $scope.activeTab);
132 //0. Get selected Image Id 132 //0. Get selected Image Id
133 if ($scope.isListViewButtonClicked == true) { 133 if ($scope.isListViewButtonClicked == true) {