Commit 377de3bc16bbec48cf7be43472f82b2c7d225cb5
1 parent
122a7252
changes made into the webconfig and index file
Showing
4 changed files
with
10 additions
and
9 deletions
400-SOURCECODE/AIAHTML5.Web/Web.config
... | ... | @@ -42,7 +42,8 @@ |
42 | 42 | <mimeMap fileExtension=".woff" mimeType="application/font-woff" /> |
43 | 43 | <!--<mimeMap fileExtension=".json" mimeType="application/json" />--> |
44 | 44 | <mimeMap fileExtension=".mp3" mimeType="audio/mpeg" /> |
45 | - <mimeMap fileExtension=".vtt" mimeType="text/vtt"/> | |
45 | + <mimeMap fileExtension=".vtt" mimeType="text/vtt" /> | |
46 | + <mimeMap fileExtension=".json" mimeType="application/json" /> | |
46 | 47 | <!--<mimeMap fileExtension=".woff2" mimeType="application/font-woff2" />--> |
47 | 48 | |
48 | 49 | ... | ... |
400-SOURCECODE/AIAHTML5.Web/app/controllers/LabExercController.js
... | ... | @@ -81,12 +81,12 @@ function ($scope, $rootScope, pages, log, $http, DataService, $filter, $location |
81 | 81 | $scope.LabExerciseModules = null; |
82 | 82 | $scope.LabExerciseBoxes = null; |
83 | 83 | //alert($scope.LabExerciseName) |
84 | - var labExerciseModulePath = 'content/data/json/le/' + $scope.LabExerciseName + '.json'; | |
84 | + var labExerciseModulePath = '~/../content/data/json/le/' + $scope.LabExerciseName + '.json'; | |
85 | 85 | |
86 | 86 | DataService.getAnotherJson(labExerciseModulePath).then( |
87 | 87 | function (result) { |
88 | 88 | //debugger; |
89 | - // alert(JSON.stringify(result.LabExercise)); | |
89 | + //alert(JSON.stringify(result.LabExercise)); | |
90 | 90 | $.each(result.LabExercise, function (index, value) { |
91 | 91 | $scope.LabExerciseName = result.LabExercise[index].Topic; |
92 | 92 | if (result.LabExercise[index].Slug == keywords.labexercise) { |
... | ... | @@ -107,7 +107,7 @@ function ($scope, $rootScope, pages, log, $http, DataService, $filter, $location |
107 | 107 | $scope.Title = result.LabExercise[index].Questions[index1].Title; |
108 | 108 | } |
109 | 109 | else { |
110 | - alert(result.LabExercise[index].Questions[index1].ImagePath); | |
110 | + //alert(result.LabExercise[index].Questions[index1].ImagePath); | |
111 | 111 | $("#imgblock").css("display", "block"); |
112 | 112 | $scope.IsVisible = true; |
113 | 113 | $("#textblock").css("display", "none"); | ... | ... |
400-SOURCECODE/AIAHTML5.Web/app/main/AIA.js
... | ... | @@ -209,10 +209,10 @@ AIA.constant('Modules', [ |
209 | 209 | Id: 1, |
210 | 210 | Name: 'Dissectible Anatomy', |
211 | 211 | }, |
212 | - { | |
213 | - Id: 2, | |
214 | - Name: 'Atlas Anatomy', | |
215 | - }, | |
212 | + //{ | |
213 | + // Id: 2, | |
214 | + // Name: 'Atlas Anatomy', | |
215 | + //}, | |
216 | 216 | { |
217 | 217 | Id: 3, |
218 | 218 | Name: '3D Anatomy', | ... | ... |
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 | <ul class="nav nav-sidebar" ng-init="hideScrollbar()"> |
28 | 28 | <li><a href="da-view-list" ng-click="IsVisible()">Dissectible Anatomy</a></li> |
29 | - <li><a href="tile-view-list" ng-init="loadForModuleById(1)">Atlas Anatomy</a></li> | |
29 | + <!--<li><a href="tile-view-list" ng-init="loadForModuleById(1)">Atlas Anatomy</a></li>--> | |
30 | 30 | <li><a href="3dAnatomy" ng-click="IsVisible()">3D Anatomy</a></li> |
31 | 31 | <li><a href="clinical-illustrations" ng-click="IsVisible()">Clinical Illustrations</a></li> |
32 | 32 | <li><a href="clinical-animations" ng-click="IsVisible()">Clinical Animations</a></li> | ... | ... |