diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js index 7834b35..d1f98a9 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js @@ -411,15 +411,25 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic if (($location.url() == "/da-body-view")) { $rootScope.disableMenuannotation = " "; $rootScope.disableMenuoption = " "; + $("#annotationToolBarOptions").removeClass("disableSubMenu"); } - else if (($location.url() == "/clinical-illustrations-detail") || ($location.url() == "/clinical-animations-detail")) { + else if ($location.url() == "/clinical-illustrations-detail") + { $rootScope.disableMenuannotation = " "; $rootScope.disableMenuoption = " "; $rootScope.disableSubMenu = "disableSubMenu"; + $("#annotationToolBarOptions").removeClass("disableSubMenu"); + } + else if($location.url() == "/clinical-animations-detail") + { + $rootScope.disableMenuannotation = "disableMenuannotation"; + $rootScope.disableMenuoption = " "; + $rootScope.disableSubMenu = "disableSubMenu"; + $("#annotationToolBarOptions").addClass("disableSubMenu"); } else { - + $("#annotationToolBarOptions").removeClass("disableSubMenu"); $rootScope.disableMenuannotation = "disableMenuannotation"; $rootScope.disableMenuoption = "disableMenuoption"; $rootScope.disableSubMenu = ""; diff --git a/400-SOURCECODE/AIAHTML5.Web/index.html b/400-SOURCECODE/AIAHTML5.Web/index.html index f2c1ae1..7bbba52 100644 --- a/400-SOURCECODE/AIAHTML5.Web/index.html +++ b/400-SOURCECODE/AIAHTML5.Web/index.html @@ -1361,7 +1361,7 @@ $("#slider-range-min-2").slider("value", parseInt(brushSizevalue)); }); $("#btnBrushSizeIncrement").click(function () { - abc(); + onBrushSizeChange(); var brushIncrementVar = $("#btnBrushSize").val(); if (brushIncrementVar >= 60) { $("#slider-range-min-2").slider("value", 60);