Commit bd17f603cdbd77e20519869c84e922491d8ca773

Authored by unknown
2 parents 8d4080cb 1f6f64e9

Merge branch 'Develop' of http://52.6.196.163/ADAM/AIAHTML5 into ipadExportImageIssue

150-DOCUMENTATION/AIA-TimelinesForIPAD-MAC.xlsx 0 → 100644
No preview for this file type
400-SOURCECODE/AIAHTML5.Web/app/controllers/3dAController.js
1 1 AIA.controller("3dAController", ["$scope", "$rootScope", "pages", "$log", '$http', 'DataService', '$filter', '$location', '$document', '$sce', "$compile",
2 2 function ($scope, $rootScope, pages, log, $http, DataService, $filter, $location, $document, $sce, $compile) {
3 3  
4   - $rootScope.currentActiveModuleTitle = pages[5].name;
  4 +
5 5 $scope.showTabButton = false;
6 6 $scope.threeDAnatomyData;
7 7 $scope.Id;
8 8 $scope.$on('$viewContentLoaded', function (event) {
9   -
  9 + var currentURL = $location.path();
  10 + var selectedModuleName = '';
  11 + //set module title
  12 + angular.forEach($rootScope.userModules, function (value, key) {
  13 + if (value.slug === currentURL.replace('/', '')) {
  14 + selectedModuleName = value.name;
  15 + }
  16 + $rootScope.currentActiveModuleTitle = selectedModuleName;
  17 + })
10 18 if ($rootScope.refreshcheck == null) {
11 19 $location.path('/');
12 20 }
... ...
400-SOURCECODE/AIAHTML5.Web/app/controllers/CIController.js
... ... @@ -605,9 +605,6 @@ function ($scope, $window, $rootScope, $compile, $http, log, $location, $timeout
605 605  
606 606 if (clickedCIImage.length > 0 && clickedCISummary.length > 0) {
607 607  
608   - $rootScope.isLoading = false;
609   - $('#spinner').css('visibility', 'hidden');
610   -
611 608 $.jsPanel({
612 609 id: 'ciImagePanel',
613 610 selector: '.ciView',
... ... @@ -633,6 +630,13 @@ function ($scope, $window, $rootScope, $compile, $http, log, $location, $timeout
633 630  
634 631 });
635 632  
  633 +
  634 + $('#canvasDiv img').load(function () {
  635 +
  636 + $rootScope.isLoading = false;
  637 + $('#spinner').css('visibility', 'hidden');
  638 + });
  639 +
636 640 $rootScope.currentSlug = 'clinical-illustrations-detail';
637 641  
638 642 $rootScope.openViews.push(
... ...
400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
... ... @@ -4944,7 +4944,7 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l
4944 4944 canvasModesty.style.left = X + 'px';
4945 4945 canvasModesty.style.top = Y + 'px';
4946 4946 canvasModesty.style.visibility = 'visible';
4947   - if($rootScope.currentBodyViewId=="11"){
  4947 + if ($rootScope.voId == "11") {
4948 4948  
4949 4949 canvasModesty.style.zIndex = 11000;
4950 4950 }
... ... @@ -7828,7 +7828,7 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l
7828 7828 $scope.OnViewChange = function (event) {
7829 7829 // alert(event.target.title);
7830 7830 // alert($("[title*='" + event.target.title + "']").parent().hasClass("active"));
7831   - if ($("[title*='" + event.target.title + "']").parent().hasClass("active") == true) {
  7831 + if ($("[title='" + event.target.title + "']").parent().hasClass("active") == true) {
7832 7832  
7833 7833  
7834 7834  
... ...
400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
... ... @@ -4377,6 +4377,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic
4377 4377 function OpenJSPanel() {
4378 4378 $("#daImagePanel").css({ "pointer-events": "none", "opacity": ".5" });
4379 4379 $("#ciImagePanel").css({ "pointer-events": "none", "opacity": ".5" });
  4380 + $("#ImagePanel").css({ "pointer-events": "none", "opacity": ".5" });
4380 4381 $.jsPanel({
4381 4382 id: 'jsPanel-1',
4382 4383 selector: '#dvPrintPreview',
... ... @@ -4427,34 +4428,34 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic
4427 4428 $(document).on('change', '#printPSOptions', function () {
4428 4429 var option = $('#printPSOptions').find(":selected").text();
4429 4430 switch (option) {
4430   - case (option = "10%"):
  4431 + case ("10%"):
4431 4432 ResizeImage(0.1);
4432 4433 break;
4433   - case (option = "25%"):
  4434 + case ("25%"):
4434 4435 ResizeImage(0.25);
4435 4436 break;
4436   - case (option = "50%"):
  4437 + case ("50%"):
4437 4438 ResizeImage(0.5);
4438 4439 break;
4439   - case (option = "75%"):
  4440 + case ("75%"):
4440 4441 ResizeImage(.75);
4441 4442 break;
4442   - case (option = "65%"):
  4443 + case ("65%"):
4443 4444 ResizeImage(0.65);
4444 4445 break;
4445   - case (option = "100%"):
  4446 + case ("100%"):
4446 4447 ResizeImage(1);
4447 4448 break;
4448   - case (option = "150%"):
  4449 + case ("150%"):
4449 4450 ResizeImage(1.5);
4450 4451 break;
4451   - case (option = "200%"):
  4452 + case ("200%"):
4452 4453 ResizeImage(2);
4453 4454 break;
4454   - case (option = "500%"):
  4455 + case ("500%"):
4455 4456 ResizeImage(5);
4456 4457 break;
4457   - case (option = "Auto"):
  4458 + case ("Auto"):
4458 4459 ResizeImage(0);
4459 4460 break;
4460 4461 default:
... ... @@ -4504,6 +4505,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic
4504 4505 $(document).on('click', '#jsPanel-1 .jsglyph-remove', function () {
4505 4506 $("#daImagePanel").css({ "pointer-events": "auto", "opacity": "1" });
4506 4507 $("#ciImagePanel").css({ "pointer-events": "auto", "opacity": "1" });
  4508 + $("#ImagePanel").css({ "pointer-events": "auto", "opacity": "1" });
4507 4509 $("#annotationButton").parent().removeClass("disableMenuannotation");
4508 4510 $("#annotationToolBarOptions").removeClass("disableMenuoption");
4509 4511 $("#optionsListManagerTab").removeClass("disableMenuoption");
... ...
400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js
... ... @@ -1358,7 +1358,7 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou
1358 1358 }
1359 1359  
1360 1360 $rootScope.hidePins = function () {
1361   - $rootScope.isshowAllPinsBtnAfterHideClicked = false;
  1361 + $("#dropdownMenu221").addClass("aaSystemDisable");
1362 1362 $rootScope.isLoading = true;
1363 1363 $('#spinner').css('visibility', 'visible');
1364 1364 $scope.hideSpeechBubble();
... ... @@ -1387,6 +1387,9 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou
1387 1387 }
1388 1388  
1389 1389 $scope.showAllPinsAfterHide = function (event) {
  1390 + if ($("#dropdownMenu221").hasClass("aaSystemDisable")) {
  1391 + $("#dropdownMenu221").removeClass("aaSystemDisable");
  1392 + }
1390 1393 $rootScope.isLoading = true;
1391 1394 $('#spinner').css('visibility', 'visible');
1392 1395 $scope.isHidePinBtnClicked = false;
... ... @@ -1413,7 +1416,9 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou
1413 1416  
1414 1417  
1415 1418 $scope.showSelectedPins = function () {
1416   - $rootScope.isshowAllPinsBtnAfterHideClicked = false;
  1419 + if ($("#dropdownMenu221").hasClass("aaSystemDisable")) {
  1420 + $("#dropdownMenu221").removeClass("aaSystemDisable");
  1421 + }
1417 1422 $rootScope.isLoading = true;
1418 1423 $('#spinner').css('visibility', 'visible');
1419 1424  
... ...
400-SOURCECODE/AIAHTML5.Web/app/widget/MainMenu.html
... ... @@ -26,7 +26,7 @@
26 26 <div class="sidebar pull-left mCustomScrollbar _mCS_1 mCS-autoHide ">
27 27 <!--{{name}}-->
28 28 <ul class="nav nav-sidebar" ng-init="hideScrollbar()">
29   - <li ng-repeat="module in userModules" ng-disabled="module.id==7|| module.id==8 || module.id==10"><a id="{{module.slug}}" href="{{module.slug}}" ng-click="IsVisible();getModuleScrollPosition()" data-ng-bind="module.name" ng-class="HightLightModuleSelection('{{module.slug}}')" ng-disabled="module.id==7|| module.id==8 || module.id==10"><!--{{module.name}}--></a></li>
  29 + <li ng-repeat="module in userModules" ng-disabled="module.id==7|| module.id==8 || module.id==10 || module.id==13"><a id="{{module.slug}}" href="{{module.slug}}" ng-click="IsVisible();getModuleScrollPosition()" data-ng-bind="module.name" ng-class="HightLightModuleSelection('{{module.slug}}')" ng-disabled="module.id==7|| module.id==8 || module.id==10 || module.id==13"><!--{{module.name}}--></a></li>
30 30 </ul>
31 31 </div>
32 32  
... ...
400-SOURCECODE/AIAHTML5.Web/index.html
... ... @@ -1272,9 +1272,7 @@
1272 1272 <div class="form-group" id="moduleDiv12">
1273 1273 <div class="col-sm-8">• Complementary and Alternative Medicine</div>
1274 1274 </div>
1275   - <div class="form-group" id="moduleDiv13">
1276   - <div class="col-sm-8">• A.D.A.M Images</div>
1277   - </div>
  1275 +
1278 1276 <div class="form-group" id="moduleDiv14">
1279 1277 <div class="col-sm-8">• Body Guide</div>
1280 1278 </div>
... ... @@ -1301,6 +1299,9 @@
1301 1299 <div class="form-group" id="moduleDiv10">
1302 1300 <div class="col-sm-8"><i>• Lab Exercises</i></div> <!--(To be available by 08/16/2017)-->
1303 1301 </div>
  1302 + <div class="form-group" id="moduleDiv13">
  1303 + <div class="col-sm-8">• A.D.A.M Images</div>
  1304 + </div>
1304 1305 </div>
1305 1306 <div class="form-group">
1306 1307 <div style="text-align: center">
... ...
400-SOURCECODE/AIAHTML5.Web/themes/default/css/bootstrap/3.3.6/main.css
... ... @@ -1104,4 +1104,11 @@ li[disabled], a[disabled] {
1104 1104 }
1105 1105 a[disabled] {
1106 1106 color: #aaa !important;
1107   -}
1108 1107 \ No newline at end of file
  1108 +}
  1109 +
  1110 +
  1111 +.aaSystemDisable
  1112 + {
  1113 + pointer-events : none;
  1114 + opacity : 0.5;
  1115 +}
... ...