From ff2ea676ef2c1d72022ea01724788c06dc75e27a Mon Sep 17 00:00:00 2001 From: Mukul Date: Wed, 22 Feb 2017 15:39:43 +0530 Subject: [PATCH] this is for bug 14843 Disable annotation toolbar in menu in clinical animation detail page. --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js index fd76eaf..68b4eeb 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js @@ -530,10 +530,13 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic // document.getElementById('modeleditstyle').style.display = "block"; } - //if ($rootScope.MenuModuleName == "CA") - //{ - // $("#annotationpaintbrushsize").attr("href", "#"); - //} + if ($rootScope.MenuModuleName == "CA") + { + $("#annotationpaintbrushsize").attr("href", "#"); + } + else { + $("#annotationpaintbrushsize").attr("href", "#canvasPaint"); + } $("#OnIdentify").addClass("annotationtoolbartab"); $("#annotationToolBarOptions").addClass("active"); $("#annotationButton").addClass("active"); -- libgit2 0.21.4