Commit 6d5146a2c28d39515b8ac8f8b4c0b20808e93659

Authored by Utkarsh Singh
1 parent 157cbae1

3DAnatomy methods renamed

400-SOURCECODE/AIAHTML5.Web/app/controllers/3dAController.js
@@ -26,7 +26,7 @@ function ($scope, $rootScope, pages, log, $http, DataService, $filter, $location @@ -26,7 +26,7 @@ function ($scope, $rootScope, pages, log, $http, DataService, $filter, $location
26 26
27 var $el = $('<div id="3dView' + value._id + '" class="col-sm-3 col-md-2" title = "' + value._Title + '">' 27 var $el = $('<div id="3dView' + value._id + '" class="col-sm-3 col-md-2" title = "' + value._Title + '">'
28 + '<div class="thumbnail">' 28 + '<div class="thumbnail">'
29 - + '<img id="' + value._id + '"ng-src="' + $scope.imagePath + '" alt="" title="' + value._Title + '" data-ng-click="openView($event)" >' 29 + + '<img id="' + value._id + '"ng-src="' + $scope.imagePath + '" alt="" title="' + value._Title + '" data-ng-click="Open3DModel($event)" >'
30 + '<div class="caption"><p>' + value._Title + '</p></div></div></div>').appendTo('#grid-view'); 30 + '<div class="caption"><p>' + value._Title + '</p></div></div></div>').appendTo('#grid-view');
31 31
32 32
@@ -59,7 +59,7 @@ function ($scope, $rootScope, pages, log, $http, DataService, $filter, $location @@ -59,7 +59,7 @@ function ($scope, $rootScope, pages, log, $http, DataService, $filter, $location
59 } 59 }
60 60
61 61
62 - $scope.openView = function ($event) { 62 + $scope.Open3DModel = function ($event) {
63 $rootScope.currentBodyViewId = $event.currentTarget.id; 63 $rootScope.currentBodyViewId = $event.currentTarget.id;
64 if ($event.currentTarget.textContent !== null && typeof ($event.currentTarget.textContent) !== "undefined") { 64 if ($event.currentTarget.textContent !== null && typeof ($event.currentTarget.textContent) !== "undefined") {
65 var ThreeDTitle = []; 65 var ThreeDTitle = [];
@@ -84,7 +84,7 @@ function ($scope, $rootScope, pages, log, $http, DataService, $filter, $location @@ -84,7 +84,7 @@ function ($scope, $rootScope, pages, log, $http, DataService, $filter, $location
84 84
85 } 85 }
86 86
87 - $scope.openBodyView = function () { 87 + $scope.Open3DModelBody = function () {
88 88
89 $rootScope.isLoading = true; 89 $rootScope.isLoading = true;
90 $('#spinner').css('visibility', 'visible'); 90 $('#spinner').css('visibility', 'visible');
400-SOURCECODE/AIAHTML5.Web/app/views/3dA/3d-anatomy-details.html
1 <div> 1 <div>
2 <div ng-include="aap/widget/MainMenu.html"></div> 2 <div ng-include="aap/widget/MainMenu.html"></div>
3 - <div ng-init="openBodyView()" id="ThreeDView" class="threeDView" ng-controller="3dAController" style="position: absolute !important;"></div> 3 + <div ng-init="Open3DModelBody()" id="ThreeDView" class="threeDView" ng-controller="3dAController" style="position: absolute !important;"></div>
4 </div> 4 </div>
5 \ No newline at end of file 5 \ No newline at end of file