diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js
index 87a7014..9fc3014 100644
--- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js
+++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js
@@ -67,9 +67,9 @@ function ($scope, $rootScope, $compile, $http, $log, $location, BodyRegions, Bod
{
var moduleData = [];
moduleData.push(value._Id);
+ moduleData.push(value._ImageId);
moduleData.push(value._TileImageName);
- //moduleData.push("~/../content/images/aa/thumbnails/" + value._TileImageName);
-
+
$scope.ImageName = value._TileImageName;
$scope.imagePath = "~/../content/images/aa/thumbnails/" + value._TileImageName;
$scope.TileViewId = value._Id;
@@ -106,10 +106,15 @@ function ($scope, $rootScope, $compile, $http, $log, $location, BodyRegions, Bod
$("html,body").scrollTop(0);
}
- $scope.openModuleItem = function (moduleDataDetail) {
+ $scope.openModuleItem = function ($event) {
alert('call on TileViewListController');
+ var id = $event._TileImageName;
+ alert('image name: ' + id);
+ //var imgId = $event.data._ImageId;
+ //var imageName = $event.data._TileImageName;
+
ModuleService.SaveOpenedModules(moduleDetails);
//var isSaved= ModuleService.SaveOpenedModules(moduleDetails);
diff --git a/400-SOURCECODE/AIAHTML5.Web/app/services/ModuleService.js b/400-SOURCECODE/AIAHTML5.Web/app/services/ModuleService.js
index d38c57f..99b7676 100644
--- a/400-SOURCECODE/AIAHTML5.Web/app/services/ModuleService.js
+++ b/400-SOURCECODE/AIAHTML5.Web/app/services/ModuleService.js
@@ -14,6 +14,17 @@ AIA.factory('ModuleService', function ()
//OpenedModuleList.tileViewId = moduleDetails.TileViewId;
//OpenedModuleList.tileImageName = moduleDetails.imageName;
//OpenedModuleList.tileImageSRC = moduleDetails.imagePath;
+
+ //moduleData.push($scope.moduleId);
+ //moduleData.push(value._Id);
+ //moduleData.push(value._ImageId);
+ //moduleData.push(value._Title);
+ //moduleData.push(value._ImageName);
+ //moduleData.push(value._BodySystem);
+ //moduleData.push(value._BodyRegion);
+ //moduleData.push(value._ViewOrientation);
+ //moduleData.push(value._ImageType);
+ //moduleData.push(value._TileImageName);
if (moduleId == ATLAS_ANATOMY)
{