Commit ea24a473ba7dadc2c5a99ad14e78519be3bfe1ef
1 parent
6def3e61
Committed code. Refs: #15281
Showing
3 changed files
with
10 additions
and
2 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
... | ... | @@ -69,6 +69,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic |
69 | 69 | $rootScope.shapestyleborderWidth = 2; |
70 | 70 | $rootScope.shapestyleborderStyles = "solid"; |
71 | 71 | $rootScope.errorMassage = ''; |
72 | + $rootScope.disableFileMenu = "disableFileMenu"; | |
72 | 73 | |
73 | 74 | $rootScope.userInfo = { |
74 | 75 | username: null, |
... | ... | @@ -412,6 +413,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic |
412 | 413 | $rootScope.disableMenuannotation = " "; |
413 | 414 | $rootScope.disableMenuoption = " "; |
414 | 415 | $rootScope.disableSubMenu = "disableSubMenu"; |
416 | + $rootScope.disableFileMenu = " "; | |
415 | 417 | } |
416 | 418 | else if ($location.url() == "/clinical-illustrations-detail") |
417 | 419 | { |
... | ... | @@ -419,6 +421,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic |
419 | 421 | $rootScope.disableMenuoption = " "; |
420 | 422 | $rootScope.disableSubMenu = "disableSubMenu"; |
421 | 423 | $("#annotationToolBarOptions").removeClass("disableSubMenu"); |
424 | + $rootScope.disableFileMenu = " "; | |
422 | 425 | } |
423 | 426 | else if($location.url() == "/clinical-animations-detail") |
424 | 427 | { |
... | ... | @@ -426,6 +429,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic |
426 | 429 | $rootScope.disableMenuoption = " "; |
427 | 430 | $rootScope.disableSubMenu = "disableSubMenu"; |
428 | 431 | $("#annotationToolBarOptions").addClass("disableSubMenu"); |
432 | + $rootScope.disableFileMenu = " "; | |
429 | 433 | } |
430 | 434 | else { |
431 | 435 | $("#annotationToolBarOptions").removeClass("disableSubMenu"); |
... | ... | @@ -442,7 +446,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic |
442 | 446 | if ($rootScope.menuLabExer == 1) { |
443 | 447 | $rootScope.disableMenuoption = " "; |
444 | 448 | } |
445 | - | |
449 | + $rootScope.disableFileMenu = "disableFileMenu"; | |
446 | 450 | } |
447 | 451 | |
448 | 452 | }); | ... | ... |
400-SOURCECODE/AIAHTML5.Web/app/widget/TopMenu.html
1 | 1 | <div class="collapse navbar-collapse" id="topFixedNavbar1"> |
2 | 2 | <ul class="nav navbar-nav toperMenu-spaceleft"> |
3 | - <li class="dropdown"> | |
3 | + <li class="dropdown" ng-class="disableFileMenu"> | |
4 | 4 | <a href="#" class="dropdown-toggle" data-toggle="dropdown" id="fileMenuAnchor" role="button" aria-haspopup="true" aria-expanded="false">File<span class="caret"></span></a> |
5 | 5 | <ul class="dropdown-menu"> |
6 | 6 | <li ng-class="disableSubMenu"><a href="#">Open Resources</a></li> | ... | ... |
400-SOURCECODE/AIAHTML5.Web/themes/default/css/bootstrap/3.3.6/main.css