diff --git a/400-SOURCECODE/AIAHTML5.API/bin/AIAHTML5.API.dll b/400-SOURCECODE/AIAHTML5.API/bin/AIAHTML5.API.dll
index 918257a..6b7ae92 100644
--- a/400-SOURCECODE/AIAHTML5.API/bin/AIAHTML5.API.dll
+++ b/400-SOURCECODE/AIAHTML5.API/bin/AIAHTML5.API.dll
diff --git a/400-SOURCECODE/AIAHTML5.API/bin/AIAHTML5.API.pdb b/400-SOURCECODE/AIAHTML5.API/bin/AIAHTML5.API.pdb
index 4e74bc8..ae33648 100644
--- a/400-SOURCECODE/AIAHTML5.API/bin/AIAHTML5.API.pdb
+++ b/400-SOURCECODE/AIAHTML5.API/bin/AIAHTML5.API.pdb
diff --git a/400-SOURCECODE/AIAHTML5.Web/AIAHTML5.Web.csproj b/400-SOURCECODE/AIAHTML5.Web/AIAHTML5.Web.csproj
index de2feb3..f5125a3 100644
--- a/400-SOURCECODE/AIAHTML5.Web/AIAHTML5.Web.csproj
+++ b/400-SOURCECODE/AIAHTML5.Web/AIAHTML5.Web.csproj
@@ -569,7 +569,6 @@
-
@@ -593,16 +592,15 @@
-
-
+
-
-
+
+
@@ -44717,6 +44715,7 @@
+
diff --git a/400-SOURCECODE/AIAHTML5.Web/AIAHTML5.Web.csproj.user b/400-SOURCECODE/AIAHTML5.Web/AIAHTML5.Web.csproj.user
index 7b4788a..dbebe52 100644
--- a/400-SOURCECODE/AIAHTML5.Web/AIAHTML5.Web.csproj.user
+++ b/400-SOURCECODE/AIAHTML5.Web/AIAHTML5.Web.csproj.user
@@ -1,4 +1,4 @@
-
+
ProjectFiles
diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js
index 2065605..05a4ec9 100644
--- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js
+++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js
@@ -100,71 +100,73 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
}
- $.jsPanel({
- id: 'ImagePanel',
- selector: '.aaBodyView',
- theme: 'success',
- currentController: 'TileViewListController',
- parentSlug: 'tile-view',
- ajax: {
- url: jsContentURL
- },
- title: localStorage.getItem("currentViewTitle"),
+ //1. create a jsPanel and load the module item view
+ if ($rootScope.moduleName == ATLAS_ANATOMY) {
+ $.jsPanel({
+ id: 'ImagePanel',
+ selector: '.aaBodyView',
+ theme: 'success',
+ currentController: 'TileViewListController',
+ parentSlug: 'tile-view-list',
+ ajax: {
+ url: jsContentURL
+ },
+ title: localStorage.getItem("currentViewTitle"),
- position: {
- top: 70,
- left: 1,
- },
+ position: {
+ top: 70,
+ left: 1,
+ },
- size: { width: $(window).outerWidth() - 10, height: $(window).outerHeight() - 110 },
+ size: { width: $(window).outerWidth() - 10, height: $(window).outerHeight() - 110 },
- });
+ });
- console.log('jsPanel loaded ImagePanel exist= ' + document.getElementById('ImagePanel'))
+ console.log('jsPanel loaded ImagePanel exist= ' + document.getElementById('ImagePanel'))
- //0.3
- var aaViewElement = angular.element(document.getElementById(moduleItemViewDivId));
+ //0.3
+ var aaViewElement = angular.element(document.getElementById(moduleItemViewDivId));
- //0.4 for Opening module item, load it into image
- var openedImage = new Image();
- openedImage.name = $rootScope.OpenItemImagePath;
- openedImage.onload = getImageHeightWidth;
- openedImage.onerror = loadFailure;
- openedImage.src = $rootScope.OpenItemImagePath;
+ //0.4 for Opening module item, load it into image
+ var openedImage = new Image();
+ openedImage.name = $rootScope.OpenItemImagePath;
+ openedImage.onload = getImageHeightWidth;
+ openedImage.onerror = loadFailure;
+ openedImage.src = $rootScope.OpenItemImagePath;
- $timeout(function () {
- $compile(aaViewElement.contents())($scope);
+ $timeout(function () {
+ $compile(aaViewElement.contents())($scope);
- if (document.getElementById('aaDetailPageDiv') != null) {
+ if (document.getElementById('aaDetailPageDiv') != null) {
- //0.4 added some stylesheets
- $('#aaBodyView').css("height", $(window).outerHeight());
- $('#aaBodyView').css("width", $(window).outerWidth());
+ //0.4 added some stylesheets
+ $('#aaBodyView').css("height", $(window).outerHeight());
+ $('#aaBodyView').css("width", $(window).outerWidth());
- $scope.currentTitleFromJson = localStorage.getItem("currentViewTitle");
- $("#modItemImage").attr('src', $rootScope.OpenItemImagePath);
+ $scope.currentTitleFromJson = localStorage.getItem("currentViewTitle");
+ $("#modItemImage").attr('src', $rootScope.OpenItemImagePath);
- //0.5 create canvas on the top of image so that I can draw a line over the canvas.
- var canvas = document.createElement('canvas');
- canvas.id = 'aaDetailViewCanvas';
- canvas.height = parseInt(($scope.imageHeight));
- canvas.width = parseInt($scope.imageWidth);
- canvas.style.left = '0px';
- canvas.style.top = '0px';
- canvas.style.position = "absolute";
+ //0.5 create canvas on the top of image so that I can draw a line over the canvas.
+ var canvas = document.createElement('canvas');
+ canvas.id = 'aaDetailViewCanvas';
+ canvas.height = parseInt(($scope.imageHeight));
+ canvas.width = parseInt($scope.imageWidth);
+ canvas.style.left = '0px';
+ canvas.style.top = '0px';
+ canvas.style.position = "absolute";
- $("#imageDiv").append(canvas);
- $scope.context = canvas.getContext("2d")
+ $("#imageDiv").append(canvas);
+ $scope.context = canvas.getContext("2d")
- //6. Show all pins on AA opened item
- $scope.showAllPins();
- //7. Highlight all system body list in left side
- $scope.highlightBodySystemList();
- }
- }, 1050);
+ //6. Show all pins on AA opened item
+ $scope.showAllPins();
+ //7. Highlight all system body list in left side
+ $scope.highlightBodySystemList();
+ }
+ }, 1050);
+ }
}
-
$scope.highlightBodySystemList = function () {
$rootScope.bodySystemNames = $rootScope.bodySystemName.trim().split(/\s*,\s*/);
var bodySystemListObj = document.getElementById("bodySystemList").getElementsByTagName("a");
@@ -173,7 +175,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
//var boldTag = lis[i];
for (var j = 0; j < $rootScope.bodySystemNames.length; j++) {
if ((bodySystemListObj[i].innerHTML) == ($rootScope.bodySystemNames[j])) {
- $("#" + i).removeClass("disabled");
+ $("#" + i).parent().removeClass("disabled");
}
}
diff --git a/400-SOURCECODE/AIAHTML5.Web/app/views/aa/atlas-anatomy-detail.html b/400-SOURCECODE/AIAHTML5.Web/app/views/aa/atlas-anatomy-detail.html
index 1e5859a..d708650 100644
--- a/400-SOURCECODE/AIAHTML5.Web/app/views/aa/atlas-anatomy-detail.html
+++ b/400-SOURCECODE/AIAHTML5.Web/app/views/aa/atlas-anatomy-detail.html
@@ -20,17 +20,17 @@
@@ -72,7 +72,7 @@
-