From ea24a473ba7dadc2c5a99ad14e78519be3bfe1ef Mon Sep 17 00:00:00 2001 From: Utkarsh Singh Date: Thu, 16 Mar 2017 13:03:56 +0530 Subject: [PATCH] Committed code. Refs: #15281 --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js | 6 +++++- 400-SOURCECODE/AIAHTML5.Web/app/widget/TopMenu.html | 2 +- 400-SOURCECODE/AIAHTML5.Web/themes/default/css/bootstrap/3.3.6/main.css | 4 ++++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js index 7207fb6..6d182b1 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js @@ -69,6 +69,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic $rootScope.shapestyleborderWidth = 2; $rootScope.shapestyleborderStyles = "solid"; $rootScope.errorMassage = ''; + $rootScope.disableFileMenu = "disableFileMenu"; $rootScope.userInfo = { username: null, @@ -412,6 +413,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic $rootScope.disableMenuannotation = " "; $rootScope.disableMenuoption = " "; $rootScope.disableSubMenu = "disableSubMenu"; + $rootScope.disableFileMenu = " "; } else if ($location.url() == "/clinical-illustrations-detail") { @@ -419,6 +421,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic $rootScope.disableMenuoption = " "; $rootScope.disableSubMenu = "disableSubMenu"; $("#annotationToolBarOptions").removeClass("disableSubMenu"); + $rootScope.disableFileMenu = " "; } else if($location.url() == "/clinical-animations-detail") { @@ -426,6 +429,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic $rootScope.disableMenuoption = " "; $rootScope.disableSubMenu = "disableSubMenu"; $("#annotationToolBarOptions").addClass("disableSubMenu"); + $rootScope.disableFileMenu = " "; } else { $("#annotationToolBarOptions").removeClass("disableSubMenu"); @@ -442,7 +446,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic if ($rootScope.menuLabExer == 1) { $rootScope.disableMenuoption = " "; } - + $rootScope.disableFileMenu = "disableFileMenu"; } }); diff --git a/400-SOURCECODE/AIAHTML5.Web/app/widget/TopMenu.html b/400-SOURCECODE/AIAHTML5.Web/app/widget/TopMenu.html index d74c951..9699079 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/widget/TopMenu.html +++ b/400-SOURCECODE/AIAHTML5.Web/app/widget/TopMenu.html @@ -1,6 +1,6 @@