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,6 +69,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic | ||
69 | $rootScope.shapestyleborderWidth = 2; | 69 | $rootScope.shapestyleborderWidth = 2; |
70 | $rootScope.shapestyleborderStyles = "solid"; | 70 | $rootScope.shapestyleborderStyles = "solid"; |
71 | $rootScope.errorMassage = ''; | 71 | $rootScope.errorMassage = ''; |
72 | + $rootScope.disableFileMenu = "disableFileMenu"; | ||
72 | 73 | ||
73 | $rootScope.userInfo = { | 74 | $rootScope.userInfo = { |
74 | username: null, | 75 | username: null, |
@@ -412,6 +413,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic | @@ -412,6 +413,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic | ||
412 | $rootScope.disableMenuannotation = " "; | 413 | $rootScope.disableMenuannotation = " "; |
413 | $rootScope.disableMenuoption = " "; | 414 | $rootScope.disableMenuoption = " "; |
414 | $rootScope.disableSubMenu = "disableSubMenu"; | 415 | $rootScope.disableSubMenu = "disableSubMenu"; |
416 | + $rootScope.disableFileMenu = " "; | ||
415 | } | 417 | } |
416 | else if ($location.url() == "/clinical-illustrations-detail") | 418 | else if ($location.url() == "/clinical-illustrations-detail") |
417 | { | 419 | { |
@@ -419,6 +421,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic | @@ -419,6 +421,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic | ||
419 | $rootScope.disableMenuoption = " "; | 421 | $rootScope.disableMenuoption = " "; |
420 | $rootScope.disableSubMenu = "disableSubMenu"; | 422 | $rootScope.disableSubMenu = "disableSubMenu"; |
421 | $("#annotationToolBarOptions").removeClass("disableSubMenu"); | 423 | $("#annotationToolBarOptions").removeClass("disableSubMenu"); |
424 | + $rootScope.disableFileMenu = " "; | ||
422 | } | 425 | } |
423 | else if($location.url() == "/clinical-animations-detail") | 426 | else if($location.url() == "/clinical-animations-detail") |
424 | { | 427 | { |
@@ -426,6 +429,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic | @@ -426,6 +429,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic | ||
426 | $rootScope.disableMenuoption = " "; | 429 | $rootScope.disableMenuoption = " "; |
427 | $rootScope.disableSubMenu = "disableSubMenu"; | 430 | $rootScope.disableSubMenu = "disableSubMenu"; |
428 | $("#annotationToolBarOptions").addClass("disableSubMenu"); | 431 | $("#annotationToolBarOptions").addClass("disableSubMenu"); |
432 | + $rootScope.disableFileMenu = " "; | ||
429 | } | 433 | } |
430 | else { | 434 | else { |
431 | $("#annotationToolBarOptions").removeClass("disableSubMenu"); | 435 | $("#annotationToolBarOptions").removeClass("disableSubMenu"); |
@@ -442,7 +446,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic | @@ -442,7 +446,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic | ||
442 | if ($rootScope.menuLabExer == 1) { | 446 | if ($rootScope.menuLabExer == 1) { |
443 | $rootScope.disableMenuoption = " "; | 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 | <div class="collapse navbar-collapse" id="topFixedNavbar1"> | 1 | <div class="collapse navbar-collapse" id="topFixedNavbar1"> |
2 | <ul class="nav navbar-nav toperMenu-spaceleft"> | 2 | <ul class="nav navbar-nav toperMenu-spaceleft"> |
3 | - <li class="dropdown"> | 3 | + <li class="dropdown" ng-class="disableFileMenu"> |
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> | 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 | <ul class="dropdown-menu"> | 5 | <ul class="dropdown-menu"> |
6 | <li ng-class="disableSubMenu"><a href="#">Open Resources</a></li> | 6 | <li ng-class="disableSubMenu"><a href="#">Open Resources</a></li> |
400-SOURCECODE/AIAHTML5.Web/themes/default/css/bootstrap/3.3.6/main.css
@@ -916,6 +916,10 @@ cursor:pointer; | @@ -916,6 +916,10 @@ cursor:pointer; | ||
916 | pointer-events: none; | 916 | pointer-events: none; |
917 | opacity: 0.6; | 917 | opacity: 0.6; |
918 | } | 918 | } |
919 | +.disableFileMenu { | ||
920 | + pointer-events: none; | ||
921 | + opacity: 0.6; | ||
922 | +} | ||
919 | 923 | ||
920 | .blankshapediv | 924 | .blankshapediv |
921 | { | 925 | { |