From b334d6e9ac490fa72ea9e9affc4dbddaf5f16b7a Mon Sep 17 00:00:00 2001 From: Mukul Date: Fri, 28 Jul 2017 16:43:07 +0530 Subject: [PATCH] this is for bug 20261 Atlas Anatomy : Annotation Toolbar gets disbale --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js | 2 +- 400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js index d287a84..025df3f 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js @@ -3206,7 +3206,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic $("#optionsListManagerTab").removeClass("active"); console.log('close'); $rootScope.disableAnnotationtoolOnListManager = false; - if ($rootScope.MenuModuleName == "DA") { + if ($rootScope.MenuModuleName == "DA" || $rootScope.MenuModuleName == "AA") { $("#annotationpaintbrushsize").attr("href", "#canvasPaint"); $("#annotationpainteraser").attr("href", "#canvasPaint"); if ($rootScope.disableAnnotationtoolOnListManager == false) { diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js index 73a5216..b79833a 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js @@ -127,7 +127,7 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou //}); $scope.isOpenBtnClicked = false; $scope.openModuleItemView = function (event) { - + $rootScope.MenuModuleName = "AA"; localStorage.setItem("activeTab", $scope.activeTab); //0. Get selected Image Id if ($scope.isListViewButtonClicked == true) { -- libgit2 0.21.4