Commit ff2ea676ef2c1d72022ea01724788c06dc75e27a

Authored by Mukul Rajput
1 parent 66c73b5b

this is for bug 14843 Disable annotation toolbar in menu in clinical animation detail page.

400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
... ... @@ -530,10 +530,13 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic
530 530 // document.getElementById('modeleditstyle').style.display = "block";
531 531  
532 532 }
533   - //if ($rootScope.MenuModuleName == "CA")
534   - //{
535   - // $("#annotationpaintbrushsize").attr("href", "#");
536   - //}
  533 + if ($rootScope.MenuModuleName == "CA")
  534 + {
  535 + $("#annotationpaintbrushsize").attr("href", "#");
  536 + }
  537 + else {
  538 + $("#annotationpaintbrushsize").attr("href", "#canvasPaint");
  539 + }
537 540 $("#OnIdentify").addClass("annotationtoolbartab");
538 541 $("#annotationToolBarOptions").addClass("active");
539 542 $("#annotationButton").addClass("active");
... ...