From 09ecfd7d3489cad909d310dba6aeb1c1fdf36c55 Mon Sep 17 00:00:00 2001 From: mitali Date: Mon, 9 Jan 2017 13:43:26 +0530 Subject: [PATCH] Bug #10201: Menu > Options ----> List Manger and Add to Existing Curriculum should be disable on CI and CA Detail page. --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js | 9 +++++++-- 400-SOURCECODE/AIAHTML5.Web/app/widget/TopMenu.html | 6 +++--- 400-SOURCECODE/AIAHTML5.Web/themes/default/css/bootstrap/3.3.6/main.css | 4 ++++ 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js index 4016108..65cde0e 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js @@ -67,16 +67,21 @@ AIA.controller("HomeController", ["$rootScope", "Modules", "$log", "$location", $rootScope.$on("$locationChangeSuccess", function () { - if (($location.url() == "/da-body-view") || ($location.url() == "/clinical-illustrations-detail") || ($location.url() == "/clinical-animations-detail")) { + if (($location.url() == "/da-body-view")) { $rootScope.disableMenuannotation = " "; $rootScope.disableMenuoption = " "; - + } + else if (($location.url() == "/clinical-illustrations-detail") || ($location.url() == "/clinical-animations-detail")) { + $rootScope.disableMenuannotation = " "; + $rootScope.disableMenuoption = " "; + $rootScope.disableSubMenu = "disableSubMenu"; } else { $rootScope.disableMenuannotation = "disableMenuannotation"; $rootScope.disableMenuoption = "disableMenuoption"; + $rootScope.disableSubMenu = ""; $rootScope.CloseAnnotationTool(); $rootScope.CloseListManager(); angular.element('#modal-settings').modal('hide'); diff --git a/400-SOURCECODE/AIAHTML5.Web/app/widget/TopMenu.html b/400-SOURCECODE/AIAHTML5.Web/app/widget/TopMenu.html index 4a9d629..221ac99 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/widget/TopMenu.html +++ b/400-SOURCECODE/AIAHTML5.Web/app/widget/TopMenu.html @@ -30,14 +30,14 @@